|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SoftLockFactory
A factory for SoftLocks
| Method Summary | |
|---|---|
java.util.Set<SoftLock> |
collectAllSoftLocksForTransactionID(TransactionID transactionID)
Get a the soft locks of the specified transaction ID |
java.util.Set<TransactionID> |
collectExpiredTransactionIDs()
Get a Set of TransactionIDs for which the soft locks have expired |
SoftLock |
createSoftLock(TransactionID transactionID,
java.lang.Object key,
Element newElement,
Element oldElement)
Create a new, unlocked soft lock |
java.util.Set<java.lang.Object> |
getKeysInvisibleInContext(LocalTransactionContext transactionContext)
Get a Set of keys protected by soft locks which must not be visible to a transaction context according to the isolation level. |
| Method Detail |
|---|
SoftLock createSoftLock(TransactionID transactionID,
java.lang.Object key,
Element newElement,
Element oldElement)
transactionID - the transaction ID under which the soft lock will operatekey - the key of the Element this soft lock is protectingnewElement - the new ElementoldElement - the actual Element
java.util.Set<java.lang.Object> getKeysInvisibleInContext(LocalTransactionContext transactionContext)
transactionContext - the transaction context
java.util.Set<TransactionID> collectExpiredTransactionIDs()
java.util.Set<SoftLock> collectAllSoftLocksForTransactionID(TransactionID transactionID)
transactionID - the transaction ID
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||