Package | Description |
---|---|
net.sf.ehcache.transaction |
This package contains classes for controlling cache operations for transactional use.
|
net.sf.ehcache.transaction.local |
This package contains the local transactions subsystem.
|
net.sf.ehcache.transaction.xa.commands |
This package contains a representation of the queued commands which can be executed against a
XA store.
|
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.ConcurrentMap<SoftLockID,SoftLock> |
SoftLockManagerImpl.allLocks |
private java.util.concurrent.ConcurrentMap<SoftLockID,java.lang.Boolean> |
SoftLockManagerImpl.newKeyLocks |
Modifier and Type | Method and Description |
---|---|
SoftLockID |
SoftLockManager.createSoftLockID(TransactionID transactionID,
java.lang.Object key,
Element newElement,
Element oldElement,
boolean pinned)
Create a new soft lock ID and associated soft lock if necessary.
|
SoftLockID |
AbstractSoftLockManager.createSoftLockID(TransactionID transactionID,
java.lang.Object key,
Element newElement,
Element oldElement,
boolean pinned)
Create a new soft lock ID and associated soft lock if necessary.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.concurrent.ConcurrentMap<SoftLockID,SoftLock> |
SoftLockManagerImpl.getAllLocks() |
protected abstract java.util.concurrent.ConcurrentMap<SoftLockID,SoftLock> |
AbstractSoftLockManager.getAllLocks()
Return the map of all soft locks.
|
protected java.util.concurrent.ConcurrentMap<SoftLockID,java.lang.Boolean> |
SoftLockManagerImpl.getNewKeyLocks() |
protected abstract java.util.concurrent.ConcurrentMap<SoftLockID,java.lang.Boolean> |
AbstractSoftLockManager.getNewKeyLocks()
Return the map of all locks that are for new keys.
|
Modifier and Type | Method and Description |
---|---|
SoftLock |
SoftLockManager.findSoftLockById(SoftLockID softLockId)
Find a previously created and still existing soft lock
|
SoftLock |
AbstractSoftLockManager.findSoftLockById(SoftLockID softLockId)
Find a previously created and still existing soft lock
|
Element |
SoftLock.getElement(TransactionID currentTransactionId,
SoftLockID softLockId)
Get the element the current transaction is supposed to see.
|
Element |
ReadCommittedSoftLockImpl.getElement(TransactionID currentTransactionId,
SoftLockID softLockId)
Get the element the current transaction is supposed to see.
|
Modifier and Type | Method and Description |
---|---|
private boolean |
LocalTransactionStore.cleanupExpiredSoftLock(Element oldElement,
SoftLockID softLockId) |
private Element |
LocalTransactionStore.createElement(java.lang.Object key,
SoftLockID softLockId,
boolean isPinned) |
Modifier and Type | Method and Description |
---|---|
private Element |
AbstractStoreCommand.createElement(java.lang.Object key,
SoftLockID softLockId,
Store store,
boolean wasPinned) |