|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CacheConcurrencyStrategy.SoftLock | |
---|---|
org.hibernate.cache | This package defines APIs and implementations for the second-level cache and query cache. |
Uses of CacheConcurrencyStrategy.SoftLock in org.hibernate.cache |
---|
Classes in org.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 org.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 org.hibernate.cache with parameters of type CacheConcurrencyStrategy.SoftLock | |
---|---|
boolean |
TransactionalCache.afterUpdate(Object key,
Object value,
Object version,
CacheConcurrencyStrategy.SoftLock clientLock)
Do nothing. |
boolean |
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. |
boolean |
ReadOnlyCache.afterUpdate(Object key,
Object value,
Object version,
CacheConcurrencyStrategy.SoftLock lock)
Unsupported! |
boolean |
NonstrictReadWriteCache.afterUpdate(Object key,
Object value,
Object version,
CacheConcurrencyStrategy.SoftLock lock)
Invalidate the item (again, for safety). |
boolean |
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(). |
void |
TransactionalCache.release(Object key,
CacheConcurrencyStrategy.SoftLock clientLock)
Do nothing. |
void |
ReadWriteCache.release(Object key,
CacheConcurrencyStrategy.SoftLock clientLock)
Release the soft lock on the item. |
void |
ReadOnlyCache.release(Object key,
CacheConcurrencyStrategy.SoftLock lock)
Unsupported! |
void |
NonstrictReadWriteCache.release(Object key,
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |