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 NonstopAwareCollectionRegionAccessStrategy.lockItem(Object key, Object version)
          We are going to attempt to update/delete the keyed object.
 SoftLock NonstopAwareEntityRegionAccessStrategy.lockItem(Object key, Object version)
          We are going to attempt to update/delete the keyed object.
 SoftLock NonstopAwareCollectionRegionAccessStrategy.lockRegion()
          Lock the entire region
 SoftLock NonstopAwareEntityRegionAccessStrategy.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().
 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.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.unlockRegion(SoftLock lock)
          Called after we have finished the attempted invalidation of the entire region
 void NonstopAwareEntityRegionAccessStrategy.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 ReadOnlyEhcacheCollectionRegionAccessStrategy.lockItem(Object key, Object version)
          Throws UnsupportedOperationException since this cache is read-only
 SoftLock NonStrictReadWriteEhcacheEntityRegionAccessStrategy.lockItem(Object key, Object version)
          Since this is a non-strict read/write strategy item locking is not used.
 SoftLock TransactionalEhcacheCollectionRegionAccessStrategy.lockItem(Object key, Object version)
          We are going to attempt to update/delete the keyed object.
 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 NonStrictReadWriteEhcacheCollectionRegionAccessStrategy.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 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 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().
 void ReadOnlyEhcacheCollectionRegionAccessStrategy.unlockItem(Object key, SoftLock lock)
          A no-op since this cache is read-only
 void NonStrictReadWriteEhcacheEntityRegionAccessStrategy.unlockItem(Object key, SoftLock lock)
          Since this is a non-strict read/write strategy item locking is not used.
 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 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 NonStrictReadWriteEhcacheCollectionRegionAccessStrategy.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().
 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.