Package | Description |
---|---|
com.pega.pegarules.pub.context | |
com.pega.pegarules.pub.database |
Provides access to the relational database.
|
Modifier and Type | Method and Description |
---|---|
ILockInformation |
ILockProvider.attemptLock(ILockInformation lockInformation)
Attempts to lock the passed instance.
|
java.util.Collection<ILockInformation> |
ILockProvider.expireRequestorLocks(java.lang.String requestorId)
When the current requestor times out expire all locks held by him by
moving the expiration date to now
|
ILockInformation |
ILockProvider.findExistingLockInstance(java.lang.String aLockName)
Gets the a current lock instance from the database/hazelcast cluster.
|
java.util.Collection<ILockInformation> |
ILockProvider.getAllLocks() |
java.util.Collection<ILockInformation> |
ILockProvider.getLocksInformation() |
ILockProvider.LockStatus |
ILockProvider.releaseLock(java.lang.String aLockName,
java.lang.String requestorId,
boolean aInDifferentRequestor,
boolean aSetStatusIfLost,
boolean localCache)
Releases a lock.
|
int |
ILockProvider.releaseSystemLocks() |
boolean |
ILockProvider.removeAllLocks() |
int |
ILockProvider.unlockAllForOperator(java.lang.String operatorId) |
int |
ILockProvider.unlockForRequestor(java.lang.String requestorId) |
boolean |
ILockProvider.updateLock(ILockInformation existingLock,
ILockInformation newLock)
Updates a lock instance.
|
Modifier and Type | Class and Description |
---|---|
class |
LockGoneException
This exception indicates that an expected lock is gone.
|
class |
LockStolenException
An exception indicating that a required lock has been stolen by another
Requestor.
|
Modifier and Type | Method and Description |
---|---|
static LockFailureException |
LockFailureException.createLostLockException(java.lang.String aLockName)
Deprecated.
create an instance of
LockGoneException instead |
static LockFailureException |
LockFailureException.createOtherRequestorHasLockException(java.lang.String aLockName,
java.lang.String aLockingRequestorID,
java.lang.String aActionDescr)
Deprecated.
create an instance of
LockStolenException instead |
Modifier and Type | Method and Description |
---|---|
int |
LockManager.lockExists(java.lang.String aLockName,
StringMap aLockInfoReturned)
Check if active lock is held by a user.
|
Copyright © 2015 Pegasystems Inc. All Rights Reserved.