org.terracotta.modules.ehcache.transaction
Class ReadCommittedClusteredSoftLockFactory
java.lang.Object
org.terracotta.modules.ehcache.transaction.ReadCommittedClusteredSoftLockFactory
- All Implemented Interfaces:
- SoftLockManager
public class ReadCommittedClusteredSoftLockFactory
- extends Object
- implements SoftLockManager
- Author:
- Ludovic Orban
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadCommittedClusteredSoftLockFactory
public ReadCommittedClusteredSoftLockFactory(ToolkitInstanceFactory toolkitInstanceFactory,
String cacheManagerName,
String cacheName)
createSoftLockID
public SoftLockID createSoftLockID(TransactionID transactionID,
Object key,
Element newElement,
Element oldElement)
- Specified by:
createSoftLockID in interface SoftLockManager
findSoftLockById
public SoftLock findSoftLockById(SoftLockID softLockId)
- Specified by:
findSoftLockById in interface SoftLockManager
getKeysInvisibleInContext
public Set<Object> getKeysInvisibleInContext(LocalTransactionContext currentTransactionContext,
Store underlyingStore)
- Specified by:
getKeysInvisibleInContext in interface SoftLockManager
collectAllSoftLocksForTransactionID
public Set<SoftLock> collectAllSoftLocksForTransactionID(TransactionID transactionID)
-
- Specified by:
collectAllSoftLocksForTransactionID in interface SoftLockManager
clearSoftLock
public void clearSoftLock(SoftLock softLock)
- Specified by:
clearSoftLock in interface SoftLockManager
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.