public class SoftLockManagerImpl extends AbstractSoftLockManager
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.ConcurrentMap<SoftLockID,SoftLock> |
allLocks |
private java.util.concurrent.ConcurrentMap<SoftLockID,java.lang.Boolean> |
newKeyLocks |
Constructor and Description |
---|
SoftLockManagerImpl(java.lang.String cacheName,
SoftLockFactory lockFactory)
Create a new ReadCommittedSoftLockFactoryImpl instance for a cache
|
Modifier and Type | Method and Description |
---|---|
protected java.util.concurrent.ConcurrentMap<SoftLockID,SoftLock> |
getAllLocks()
Return the map of all soft locks.
|
protected java.util.concurrent.ConcurrentMap<SoftLockID,java.lang.Boolean> |
getNewKeyLocks()
Return the map of all locks that are for new keys.
|
clearSoftLock, collectAllSoftLocksForTransactionID, createSoftLockID, findSoftLockById, getKeysInvisibleInContext
private final java.util.concurrent.ConcurrentMap<SoftLockID,java.lang.Boolean> newKeyLocks
private final java.util.concurrent.ConcurrentMap<SoftLockID,SoftLock> allLocks
public SoftLockManagerImpl(java.lang.String cacheName, SoftLockFactory lockFactory)
cacheName
- the name of the cacheprotected java.util.concurrent.ConcurrentMap<SoftLockID,SoftLock> getAllLocks()
AbstractSoftLockManager
getAllLocks
in class AbstractSoftLockManager
protected java.util.concurrent.ConcurrentMap<SoftLockID,java.lang.Boolean> getNewKeyLocks()
AbstractSoftLockManager
getNewKeyLocks
in class AbstractSoftLockManager