Package | Description |
---|---|
net.sf.ehcache.transaction |
This package contains classes for controlling cache operations for transactional use.
|
Modifier and Type | Method and Description |
---|---|
SoftLockID |
AbstractSoftLockManager.createSoftLockID(TransactionID transactionID,
Object key,
Element newElement,
Element oldElement)
Create a new soft lock ID and associated soft lock if necessary.
|
SoftLockID |
SoftLockManager.createSoftLockID(TransactionID transactionID,
Object key,
Element newElement,
Element oldElement)
Create a new soft lock ID and associated soft lock if necessary.
|
Modifier and Type | Method and Description |
---|---|
protected abstract ConcurrentMap<SoftLockID,SoftLock> |
AbstractSoftLockManager.getAllLocks()
Return the map of all soft locks.
|
protected ConcurrentMap<SoftLockID,SoftLock> |
SoftLockManagerImpl.getAllLocks() |
protected abstract ConcurrentMap<SoftLockID,Boolean> |
AbstractSoftLockManager.getNewKeyLocks()
Return the map of all locks that are for new keys.
|
protected ConcurrentMap<SoftLockID,Boolean> |
SoftLockManagerImpl.getNewKeyLocks() |
Modifier and Type | Method and Description |
---|---|
SoftLock |
AbstractSoftLockManager.findSoftLockById(SoftLockID softLockId)
Find a previously created and still existing soft lock
|
SoftLock |
SoftLockManager.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.
|
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.