站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

Uses of Interface org.hibernate.cache.CacheConcurrencyStrategy.SoftLock (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


Uses of Interface
org.hibernate.cache.CacheConcurrencyStrategy.SoftLock

Packages that use CacheConcurrencyStrategy.SoftLock
org.hibernate.cache This package defines APIs and implementations for the second-level cache and query cache. 
 

Uses of CacheConcurrencyStrategy.SoftLock in org.hibernate.cache
 

Classes in org.hibernate.cache that implement CacheConcurrencyStrategy.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 CacheConcurrencyStrategy.SoftLock
 CacheConcurrencyStrategy.SoftLock TransactionalCache.lock(Object key, Object version)
          Do nothing, returning null.
 CacheConcurrencyStrategy.SoftLock ReadWriteCache.lock(Object key, Object version)
          Stop any other transactions reading or writing this item to/from the cache.
 CacheConcurrencyStrategy.SoftLock ReadOnlyCache.lock(Object key, Object version)
          Unsupported!
 CacheConcurrencyStrategy.SoftLock NonstrictReadWriteCache.lock(Object key, Object version)
          Do nothing.
 CacheConcurrencyStrategy.SoftLock CacheConcurrencyStrategy.lock(Object key, Object version)
          We are going to attempt to update/delete the keyed object.
 

Methods in org.hibernate.cache with parameters of type CacheConcurrencyStrategy.SoftLock
 void TransactionalCache.release(Object key, CacheConcurrencyStrategy.SoftLock clientLock)
          Do nothing.
 boolean TransactionalCache.afterUpdate(Object key, Object value, Object version, CacheConcurrencyStrategy.SoftLock clientLock)
          Do nothing.
 void ReadWriteCache.release(Object key, CacheConcurrencyStrategy.SoftLock clientLock)
          Release the soft lock on the item.
 boolean ReadWriteCache.afterUpdate(Object key, Object value, Object version, CacheConcurrencyStrategy.SoftLock clientLock)
          Re-cache the updated state, if and only if there there are no other concurrent soft locks.
 void ReadOnlyCache.release(Object key, CacheConcurrencyStrategy.SoftLock lock)
          Unsupported!
 boolean ReadOnlyCache.afterUpdate(Object key, Object value, Object version, CacheConcurrencyStrategy.SoftLock lock)
          Unsupported!
 void NonstrictReadWriteCache.release(Object key, CacheConcurrencyStrategy.SoftLock lock)
          Invalidate the item (again, for safety).
 boolean NonstrictReadWriteCache.afterUpdate(Object key, Object value, Object version, CacheConcurrencyStrategy.SoftLock lock)
          Invalidate the item (again, for safety).
 void CacheConcurrencyStrategy.release(Object key, CacheConcurrencyStrategy.SoftLock lock)
          Called when we have finished the attempted update/delete (which may or may not have been successful), after transaction completion.
 boolean CacheConcurrencyStrategy.afterUpdate(Object key, Object value, Object version, CacheConcurrencyStrategy.SoftLock lock)
          Called after an item has been updated (after the transaction completes), instead of calling release().