SoftLocks
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Set | Returns: a Set of SoftLocksthe transaction ID transactionID)Get a the soft locks of the specified transaction ID |
| public SoftLockID | Returns: the soft lock IDthe transaction ID under which the soft lock will operate transactionID, Object the key of the Element this soft lock is protecting key, Element the new Element newElement, Element the actual Element oldElement)Create a new soft lock ID and associated soft lock if necessary. |
| public SoftLock | Returns: the soft lock, or null if no soft lock with the corresponding ID could be foundthe soft lock's ID softLockId)Find a previously created and still existing soft lock |
| public Set | Returns: a Set of keys invisible to the contextthe transaction context transactionContext, Store underlyingStore)Get a Set of keys protected by soft locks which must not be visible to a transaction context according to the isolation level. |
| clearSoftLock | back to summary |
|---|---|
| public void clearSoftLock(SoftLock softLock) Clear a soft lock
| |
| collectAllSoftLocksForTransactionID | back to summary |
|---|---|
| public Set Get a the soft locks of the specified transaction ID
| |
| createSoftLockID | back to summary |
|---|---|
| public SoftLockID createSoftLockID(TransactionID transactionID, Object key, Element newElement, Element oldElement) Create a new soft lock ID and associated soft lock if necessary.
| |
| findSoftLockById | back to summary |
|---|---|
| public SoftLock findSoftLockById(SoftLockID softLockId) Find a previously created and still existing soft lock
| |
| getKeysInvisibleInContext | back to summary |
|---|---|
| public Set Get a Set of keys protected by soft locks which must not be visible to a transaction context according to the isolation level.
| |