|
||||||||||
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 | |
org.hibernate.cache.infinispan.access |
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 |
TransactionalCache.lock(Object key,
Object version)
Do nothing, returning null. |
SoftLock |
ReadWriteCache.lock(Object key,
Object version)
Stop any other transactions reading or writing this item to/from the cache. |
SoftLock |
ReadOnlyCache.lock(Object key,
Object version)
Unsupported! |
SoftLock |
NonstrictReadWriteCache.lock(Object key,
Object version)
Do nothing. |
SoftLock |
CacheConcurrencyStrategy.lock(Object key,
Object version)
Deprecated. We are going to attempt to update/delete the keyed object. |
Methods in org.hibernate.cache with parameters of type SoftLock | |
---|---|
boolean |
TransactionalCache.afterUpdate(Object key,
Object value,
Object version,
SoftLock clientLock)
Do nothing. |
boolean |
ReadWriteCache.afterUpdate(Object key,
Object value,
Object version,
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,
SoftLock lock)
Unsupported! |
boolean |
NonstrictReadWriteCache.afterUpdate(Object key,
Object value,
Object version,
SoftLock lock)
Invalidate the item (again, for safety). |
boolean |
CacheConcurrencyStrategy.afterUpdate(Object key,
Object value,
Object version,
SoftLock lock)
Deprecated. Called after an item has been updated (after the transaction completes), instead of calling release(). |
void |
TransactionalCache.release(Object key,
SoftLock clientLock)
Do nothing. |
void |
ReadWriteCache.release(Object key,
SoftLock clientLock)
Release the soft lock on the item. |
void |
ReadOnlyCache.release(Object key,
SoftLock lock)
Unsupported! |
void |
NonstrictReadWriteCache.release(Object key,
SoftLock lock)
Invalidate the item (again, for safety). |
void |
CacheConcurrencyStrategy.release(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. |
Uses of SoftLock in org.hibernate.cache.access |
---|
Methods in org.hibernate.cache.access that return SoftLock | |
---|---|
SoftLock |
EntityRegionAccessStrategy.lockItem(Object key,
Object version)
We are going to attempt to update/delete the keyed object. |
SoftLock |
CollectionRegionAccessStrategy.lockItem(Object key,
Object version)
We are going to attempt to update/delete the keyed object. |
SoftLock |
EntityRegionAccessStrategy.lockRegion()
Lock the entire region |
SoftLock |
CollectionRegionAccessStrategy.lockRegion()
Lock the entire region |
Methods in org.hibernate.cache.access with parameters of type SoftLock | |
---|---|
boolean |
EntityRegionAccessStrategy.afterUpdate(Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock)
Called after an item has been updated (after the transaction completes), instead of calling release(). |
void |
EntityRegionAccessStrategy.unlockItem(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.unlockItem(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.unlockRegion(SoftLock lock)
Called after we have finished the attempted invalidation of the entire region |
void |
CollectionRegionAccessStrategy.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(Object key,
Object version)
|
SoftLock |
CollectionAccessStrategyAdapter.lockItem(Object key,
Object version)
|
SoftLock |
EntityAccessStrategyAdapter.lockRegion()
|
SoftLock |
CollectionAccessStrategyAdapter.lockRegion()
|
Methods in org.hibernate.cache.impl.bridge with parameters of type SoftLock | |
---|---|
boolean |
EntityAccessStrategyAdapter.afterUpdate(Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock)
|
void |
EntityAccessStrategyAdapter.unlockItem(Object key,
SoftLock lock)
|
void |
CollectionAccessStrategyAdapter.unlockItem(Object key,
SoftLock lock)
|
void |
EntityAccessStrategyAdapter.unlockRegion(SoftLock lock)
|
void |
CollectionAccessStrategyAdapter.unlockRegion(SoftLock lock)
|
Uses of SoftLock in org.hibernate.cache.infinispan.access |
---|
Methods in org.hibernate.cache.infinispan.access that return SoftLock | |
---|---|
SoftLock |
TransactionalAccessDelegate.lockItem(Object key,
Object version)
|
SoftLock |
TransactionalAccessDelegate.lockRegion()
|
Methods in org.hibernate.cache.infinispan.access with parameters of type SoftLock | |
---|---|
boolean |
TransactionalAccessDelegate.afterUpdate(Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock)
|
void |
TransactionalAccessDelegate.unlockItem(Object key,
SoftLock lock)
|
void |
TransactionalAccessDelegate.unlockRegion(SoftLock lock)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |