|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SoftLock | |
---|---|
org.hibernate.cache | This package defines APIs/SPIs and implementations for the Hibernate second-level cache. |
org.hibernate.cache.access |
Defines contracts for transactional and concurrent access to cached
entity and
collection data. |
org.hibernate.cache.impl.bridge |
Uses of SoftLock in org.hibernate.cache |
---|
Classes in org.hibernate.cache that implement 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 SoftLock | |
---|---|
SoftLock |
NonstrictReadWriteCache.lock(java.lang.Object key,
java.lang.Object version)
Do nothing. |
SoftLock |
CacheConcurrencyStrategy.lock(java.lang.Object key,
java.lang.Object version)
Deprecated. We are going to attempt to update/delete the keyed object. |
SoftLock |
ReadWriteCache.lock(java.lang.Object key,
java.lang.Object version)
Stop any other transactions reading or writing this item to/from the cache. |
SoftLock |
TransactionalCache.lock(java.lang.Object key,
java.lang.Object version)
Do nothing, returning null. |
SoftLock |
ReadOnlyCache.lock(java.lang.Object key,
java.lang.Object version)
Unsupported! |
Methods in org.hibernate.cache with parameters of type SoftLock | |
---|---|
boolean |
NonstrictReadWriteCache.afterUpdate(java.lang.Object key,
java.lang.Object value,
java.lang.Object version,
SoftLock lock)
Invalidate the item (again, for safety). |
boolean |
CacheConcurrencyStrategy.afterUpdate(java.lang.Object key,
java.lang.Object value,
java.lang.Object version,
SoftLock lock)
Deprecated. Called after an item has been updated (after the transaction completes), instead of calling release(). |
boolean |
ReadWriteCache.afterUpdate(java.lang.Object key,
java.lang.Object value,
java.lang.Object version,
SoftLock clientLock)
Re-cache the updated state, if and only if there there are no other concurrent soft locks. |
boolean |
TransactionalCache.afterUpdate(java.lang.Object key,
java.lang.Object value,
java.lang.Object version,
SoftLock clientLock)
Do nothing. |
boolean |
ReadOnlyCache.afterUpdate(java.lang.Object key,
java.lang.Object value,
java.lang.Object version,
SoftLock lock)
Unsupported! |
void |
NonstrictReadWriteCache.release(java.lang.Object key,
SoftLock lock)
Invalidate the item (again, for safety). |
void |
CacheConcurrencyStrategy.release(java.lang.Object key,
SoftLock lock)
Deprecated. Called when we have finished the attempted update/delete (which may or may not have been successful), after transaction completion. |
void |
ReadWriteCache.release(java.lang.Object key,
SoftLock clientLock)
Release the soft lock on the item. |
void |
TransactionalCache.release(java.lang.Object key,
SoftLock clientLock)
Do nothing. |
void |
ReadOnlyCache.release(java.lang.Object key,
SoftLock lock)
Unsupported! |
Uses of SoftLock in org.hibernate.cache.access |
---|
Methods in org.hibernate.cache.access that return SoftLock | |
---|---|
SoftLock |
CollectionRegionAccessStrategy.lockItem(java.lang.Object key,
java.lang.Object version)
We are going to attempt to update/delete the keyed object. |
SoftLock |
EntityRegionAccessStrategy.lockItem(java.lang.Object key,
java.lang.Object version)
We are going to attempt to update/delete the keyed object. |
SoftLock |
CollectionRegionAccessStrategy.lockRegion()
Lock the entire region |
SoftLock |
EntityRegionAccessStrategy.lockRegion()
Lock the entire region |
Methods in org.hibernate.cache.access with parameters of type SoftLock | |
---|---|
boolean |
EntityRegionAccessStrategy.afterUpdate(java.lang.Object key,
java.lang.Object value,
java.lang.Object currentVersion,
java.lang.Object previousVersion,
SoftLock lock)
Called after an item has been updated (after the transaction completes), instead of calling release(). |
void |
CollectionRegionAccessStrategy.unlockItem(java.lang.Object key,
SoftLock lock)
Called when we have finished the attempted update/delete (which may or may not have been successful), after transaction completion. |
void |
EntityRegionAccessStrategy.unlockItem(java.lang.Object key,
SoftLock lock)
Called when we have finished the attempted update/delete (which may or may not have been successful), after transaction completion. |
void |
CollectionRegionAccessStrategy.unlockRegion(SoftLock lock)
Called after we have finished the attempted invalidation of the entire region |
void |
EntityRegionAccessStrategy.unlockRegion(SoftLock lock)
Called after we have finished the attempted invalidation of the entire region |
Uses of SoftLock in org.hibernate.cache.impl.bridge |
---|
Methods in org.hibernate.cache.impl.bridge that return SoftLock | |
---|---|
SoftLock |
EntityAccessStrategyAdapter.lockItem(java.lang.Object key,
java.lang.Object version)
|
SoftLock |
CollectionAccessStrategyAdapter.lockItem(java.lang.Object key,
java.lang.Object version)
|
SoftLock |
EntityAccessStrategyAdapter.lockRegion()
|
SoftLock |
CollectionAccessStrategyAdapter.lockRegion()
|
Methods in org.hibernate.cache.impl.bridge with parameters of type SoftLock | |
---|---|
boolean |
EntityAccessStrategyAdapter.afterUpdate(java.lang.Object key,
java.lang.Object value,
java.lang.Object currentVersion,
java.lang.Object previousVersion,
SoftLock lock)
|
void |
EntityAccessStrategyAdapter.unlockItem(java.lang.Object key,
SoftLock lock)
|
void |
CollectionAccessStrategyAdapter.unlockItem(java.lang.Object key,
SoftLock lock)
|
void |
EntityAccessStrategyAdapter.unlockRegion(SoftLock lock)
|
void |
CollectionAccessStrategyAdapter.unlockRegion(SoftLock lock)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |