|
||||||||||
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.jbc2.access | |
org.hibernate.cache.jbc2.collection | |
org.hibernate.cache.jbc2.entity |
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 |
ReadOnlyCache.lock(Object key,
Object version)
Unsupported! |
SoftLock |
CacheConcurrencyStrategy.lock(Object key,
Object version)
Deprecated. We are going to attempt to update/delete the keyed object. |
SoftLock |
ReadWriteCache.lock(Object key,
Object version)
Stop any other transactions reading or writing this item to/from the cache. |
SoftLock |
NonstrictReadWriteCache.lock(Object key,
Object version)
Do nothing. |
Methods in org.hibernate.cache with parameters of type SoftLock | |
---|---|
boolean |
TransactionalCache.afterUpdate(Object key,
Object value,
Object version,
SoftLock clientLock)
Do nothing. |
boolean |
ReadOnlyCache.afterUpdate(Object key,
Object value,
Object version,
SoftLock lock)
Unsupported! |
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(). |
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 |
NonstrictReadWriteCache.afterUpdate(Object key,
Object value,
Object version,
SoftLock lock)
Invalidate the item (again, for safety). |
void |
TransactionalCache.release(Object key,
SoftLock clientLock)
Do nothing. |
void |
ReadOnlyCache.release(Object key,
SoftLock lock)
Unsupported! |
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. |
void |
ReadWriteCache.release(Object key,
SoftLock clientLock)
Release the soft lock on the item. |
void |
NonstrictReadWriteCache.release(Object key,
SoftLock lock)
Invalidate the item (again, for safety). |
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.jbc2.access |
---|
Methods in org.hibernate.cache.jbc2.access that return SoftLock | |
---|---|
SoftLock |
TransactionalAccessDelegate.lockItem(Object key,
Object version)
|
SoftLock |
TransactionalAccessDelegate.lockRegion()
|
Methods in org.hibernate.cache.jbc2.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)
|
Uses of SoftLock in org.hibernate.cache.jbc2.collection |
---|
Methods in org.hibernate.cache.jbc2.collection that return SoftLock | |
---|---|
SoftLock |
TransactionalAccess.lockItem(Object key,
Object version)
We are going to attempt to update/delete the keyed object. |
SoftLock |
OptimisticReadOnlyAccess.lockItem(Object key,
Object version)
|
SoftLock |
ReadOnlyAccess.lockItem(Object key,
Object version)
We are going to attempt to update/delete the keyed object. This method is used by "asynchronous" concurrency strategies. The returned object must be passed back to release(), to release the lock. Concurrency strategies which do not support client-visible locks may silently return null. |
SoftLock |
TransactionalAccess.lockRegion()
Lock the entire region |
SoftLock |
OptimisticReadOnlyAccess.lockRegion()
|
SoftLock |
ReadOnlyAccess.lockRegion()
Lock the entire region |
Methods in org.hibernate.cache.jbc2.collection with parameters of type SoftLock | |
---|---|
void |
TransactionalAccess.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 |
OptimisticReadOnlyAccess.unlockItem(Object key,
SoftLock lock)
|
void |
ReadOnlyAccess.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. This method is used by "asynchronous" concurrency strategies. |
void |
TransactionalAccess.unlockRegion(SoftLock lock)
Called after we have finished the attempted invalidation of the entire region |
void |
OptimisticReadOnlyAccess.unlockRegion(SoftLock lock)
|
void |
ReadOnlyAccess.unlockRegion(SoftLock lock)
Called after we have finished the attempted invalidation of the entire region |
Uses of SoftLock in org.hibernate.cache.jbc2.entity |
---|
Methods in org.hibernate.cache.jbc2.entity that return SoftLock | |
---|---|
SoftLock |
TransactionalAccess.lockItem(Object key,
Object version)
|
SoftLock |
OptimisticReadOnlyAccess.lockItem(Object key,
Object version)
|
SoftLock |
ReadOnlyAccess.lockItem(Object key,
Object version)
|
SoftLock |
TransactionalAccess.lockRegion()
|
SoftLock |
OptimisticReadOnlyAccess.lockRegion()
|
SoftLock |
ReadOnlyAccess.lockRegion()
|
Methods in org.hibernate.cache.jbc2.entity with parameters of type SoftLock | |
---|---|
boolean |
TransactionalAccess.afterUpdate(Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock)
|
boolean |
OptimisticReadOnlyAccess.afterUpdate(Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock)
|
boolean |
ReadOnlyAccess.afterUpdate(Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock)
|
void |
TransactionalAccess.unlockItem(Object key,
SoftLock lock)
|
void |
OptimisticReadOnlyAccess.unlockItem(Object key,
SoftLock lock)
|
void |
ReadOnlyAccess.unlockItem(Object key,
SoftLock lock)
|
void |
TransactionalAccess.unlockRegion(SoftLock lock)
|
void |
OptimisticReadOnlyAccess.unlockRegion(SoftLock lock)
|
void |
ReadOnlyAccess.unlockRegion(SoftLock lock)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |