|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CacheConcurrencyStrategy.SoftLock | |
net.sf.hibernate.cache |
Uses of CacheConcurrencyStrategy.SoftLock in net.sf.hibernate.cache |
Classes in net.sf.hibernate.cache that implement CacheConcurrencyStrategy.SoftLock | |
static class |
ReadWriteCache.Lock
A soft lock which supports concurrent locking, timestamped with the time it was released |
Methods in net.sf.hibernate.cache that return CacheConcurrencyStrategy.SoftLock | |
CacheConcurrencyStrategy.SoftLock |
TransactionalCache.lock(Object key,
Object version)
Do nothing, returning null. |
CacheConcurrencyStrategy.SoftLock |
ReadWriteCache.lock(Object key,
Object version)
Stop any other transactions reading or writing this item to/from the cache. |
CacheConcurrencyStrategy.SoftLock |
ReadOnlyCache.lock(Object key,
Object version)
Unsupported! |
CacheConcurrencyStrategy.SoftLock |
NonstrictReadWriteCache.lock(Object key,
Object version)
Do nothing. |
CacheConcurrencyStrategy.SoftLock |
CacheConcurrencyStrategy.lock(Object key,
Object version)
We are going to attempt to update/delete the keyed object. |
Methods in net.sf.hibernate.cache with parameters of type CacheConcurrencyStrategy.SoftLock | |
void |
TransactionalCache.release(Object key,
CacheConcurrencyStrategy.SoftLock clientLock)
Do nothing. |
void |
TransactionalCache.afterUpdate(Object key,
Object value,
Object version,
CacheConcurrencyStrategy.SoftLock clientLock)
Do nothing. |
void |
ReadWriteCache.release(Object key,
CacheConcurrencyStrategy.SoftLock clientLock)
Release the soft lock on the item. |
void |
ReadWriteCache.afterUpdate(Object key,
Object value,
Object version,
CacheConcurrencyStrategy.SoftLock clientLock)
Re-cache the updated state, if and only if there there are no other concurrent soft locks. |
void |
ReadOnlyCache.release(Object key,
CacheConcurrencyStrategy.SoftLock lock)
Unsupported! |
void |
ReadOnlyCache.afterUpdate(Object key,
Object value,
Object version,
CacheConcurrencyStrategy.SoftLock lock)
Unsupported! |
void |
NonstrictReadWriteCache.release(Object key,
CacheConcurrencyStrategy.SoftLock lock)
Invalidate the item (again, for safety). |
void |
NonstrictReadWriteCache.afterUpdate(Object key,
Object value,
Object version,
CacheConcurrencyStrategy.SoftLock lock)
Invalidate the item (again, for safety). |
void |
CacheConcurrencyStrategy.release(Object key,
CacheConcurrencyStrategy.SoftLock lock)
Called when we have finished the attempted update/delete (which may or may not have been successful), after transaction completion. |
void |
CacheConcurrencyStrategy.afterUpdate(Object key,
Object value,
Object version,
CacheConcurrencyStrategy.SoftLock lock)
Called after an item has been updated (after the transaction completes), instead of calling release(). |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |