## Uses of Interface
org.hibernate.cache.spi.access.SoftLock

Packages that use SoftLock
org.hibernate.cache.ehcache.internal.nonstop
org.hibernate.cache.ehcache.internal.strategy
org.hibernate.cache.infinispan.access
org.hibernate.cache.spi.access: Defines contracts for transactional and concurrent access to cached `entity` and `collection` data.

Uses of SoftLock in org.hibernate.cache.ehcache.internal.nonstop

Methods in org.hibernate.cache.ehcache.internal.nonstop that return SoftLock
`SoftLock` `NonstopAwareEntityRegionAccessStrategy.lockItem(Object key, Object version)` We are going to attempt to update/delete the keyed object.
`SoftLock` `NonstopAwareNaturalIdRegionAccessStrategy.lockItem(Object key, Object version)` We are going to attempt to update/delete the keyed object.
`SoftLock` `NonstopAwareCollectionRegionAccessStrategy.lockItem(Object key, Object version)` We are going to attempt to update/delete the keyed object.
`SoftLock` `NonstopAwareEntityRegionAccessStrategy.lockRegion()` Lock the entire region
`SoftLock` `NonstopAwareNaturalIdRegionAccessStrategy.lockRegion()` Lock the entire region
`SoftLock` `NonstopAwareCollectionRegionAccessStrategy.lockRegion()` Lock the entire region

Methods in org.hibernate.cache.ehcache.internal.nonstop with parameters of type SoftLock
`boolean` `NonstopAwareEntityRegionAccessStrategy.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().
`boolean` `NonstopAwareNaturalIdRegionAccessStrategy.afterUpdate(Object key, Object value, SoftLock lock)`
`void` `NonstopAwareEntityRegionAccessStrategy.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` `NonstopAwareNaturalIdRegionAccessStrategy.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` `NonstopAwareCollectionRegionAccessStrategy.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` `NonstopAwareEntityRegionAccessStrategy.unlockRegion(SoftLock lock)` Called after we have finished the attempted invalidation of the entire region
`void` `NonstopAwareNaturalIdRegionAccessStrategy.unlockRegion(SoftLock lock)` Called after we have finished the attempted invalidation of the entire region
`void` `NonstopAwareCollectionRegionAccessStrategy.unlockRegion(SoftLock lock)` Called after we have finished the attempted invalidation of the entire region

Uses of SoftLock in org.hibernate.cache.ehcache.internal.strategy

Methods in org.hibernate.cache.ehcache.internal.strategy that return SoftLock
`SoftLock` `ReadOnlyEhcacheEntityRegionAccessStrategy.lockItem(Object key, Object version)` Throws UnsupportedOperationException since this cache is read-only
`SoftLock` `TransactionalEhcacheEntityRegionAccessStrategy.lockItem(Object key, Object version)` We are going to attempt to update/delete the keyed object.
`SoftLock` `TransactionalEhcacheNaturalIdRegionAccessStrategy.lockItem(Object key, Object version)` We are going to attempt to update/delete the keyed object.
`SoftLock` `NonStrictReadWriteEhcacheCollectionRegionAccessStrategy.lockItem(Object key, Object version)` Since this is a non-strict read/write strategy item locking is not used.
`SoftLock` `ReadOnlyEhcacheCollectionRegionAccessStrategy.lockItem(Object key, Object version)` Throws UnsupportedOperationException since this cache is read-only
`SoftLock` `TransactionalEhcacheCollectionRegionAccessStrategy.lockItem(Object key, Object version)` We are going to attempt to update/delete the keyed object.
`SoftLock` `NonStrictReadWriteEhcacheEntityRegionAccessStrategy.lockItem(Object key, Object version)` Since this is a non-strict read/write strategy item locking is not used.
`SoftLock` `ReadOnlyEhcacheNaturalIdRegionAccessStrategy.lockItem(Object key, Object version)` Throws UnsupportedOperationException since this cache is read-only
`SoftLock` `NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.lockItem(Object key, Object version)` Since this is a non-strict read/write strategy item locking is not used.

Methods in org.hibernate.cache.ehcache.internal.strategy with parameters of type SoftLock
`boolean` `ReadOnlyEhcacheEntityRegionAccessStrategy.afterUpdate(Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock)` Throws UnsupportedOperationException since this cache is read-only
`boolean` `TransactionalEhcacheEntityRegionAccessStrategy.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().
`boolean` `ReadWriteEhcacheEntityRegionAccessStrategy.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().
`boolean` `NonStrictReadWriteEhcacheEntityRegionAccessStrategy.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().
`boolean` `TransactionalEhcacheNaturalIdRegionAccessStrategy.afterUpdate(Object key, Object value, SoftLock lock)` Called after an item has been updated (after the transaction completes), instead of calling release().
`boolean` `ReadWriteEhcacheNaturalIdRegionAccessStrategy.afterUpdate(Object key, Object value, SoftLock lock)` Called after an item has been updated (after the transaction completes), instead of calling release().
`boolean` `ReadOnlyEhcacheNaturalIdRegionAccessStrategy.afterUpdate(Object key, Object value, SoftLock lock)` Throws UnsupportedOperationException since this cache is read-only
`boolean` `NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.afterUpdate(Object key, Object value, SoftLock lock)` Called after an item has been updated (after the transaction completes), instead of calling release().
`void` `ReadOnlyEhcacheEntityRegionAccessStrategy.unlockItem(Object key, SoftLock lock)` A no-op since this cache is read-only
`void` `TransactionalEhcacheEntityRegionAccessStrategy.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` `TransactionalEhcacheNaturalIdRegionAccessStrategy.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` `NonStrictReadWriteEhcacheCollectionRegionAccessStrategy.unlockItem(Object key, SoftLock lock)` Since this is a non-strict read/write strategy item locking is not used.
`void` `ReadOnlyEhcacheCollectionRegionAccessStrategy.unlockItem(Object key, SoftLock lock)` A no-op since this cache is read-only
`void` `TransactionalEhcacheCollectionRegionAccessStrategy.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` `NonStrictReadWriteEhcacheEntityRegionAccessStrategy.unlockItem(Object key, SoftLock lock)` Since this is a non-strict read/write strategy item locking is not used.
`void` `ReadOnlyEhcacheNaturalIdRegionAccessStrategy.unlockItem(Object key, SoftLock lock)` A no-op since this cache is read-only
`void` `NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.unlockItem(Object key, SoftLock lock)` Since this is a non-strict read/write strategy item locking is not used.

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)`

Uses of SoftLock in org.hibernate.cache.spi.access

Methods in org.hibernate.cache.spi.access that return SoftLock
`SoftLock` `RegionAccessStrategy.lockItem(Object key, Object version)` We are going to attempt to update/delete the keyed object.
`SoftLock` `RegionAccessStrategy.lockRegion()` Lock the entire region

Methods in org.hibernate.cache.spi.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().
`boolean` `NaturalIdRegionAccessStrategy.afterUpdate(Object key, Object value, SoftLock lock)` Called after an item has been updated (after the transaction completes), instead of calling release().
`void` `RegionAccessStrategy.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` `RegionAccessStrategy.unlockRegion(SoftLock lock)` Called after we have finished the attempted invalidation of the entire region

Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.