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

ReadWriteCache.Lockable (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.cache
Interface ReadWriteCache.Lockable

All Known Implementing Classes:
ReadWriteCache.Item, ReadWriteCache.Lock
Enclosing interface:
ReadWriteCache

public static interface ReadWriteCache.Lockable


Method Summary
 boolean isGettable(long txTimestamp)
           
 boolean isLock()
           
 boolean isPuttable(long txTimestamp, Object newVersion, Comparator comparator)
           
 ReadWriteCache.Lock lock(long timeout, int id)
           
 

Method Detail

lock

public ReadWriteCache.Lock lock(long timeout,
                                int id)

isLock

public boolean isLock()

isGettable

public boolean isGettable(long txTimestamp)

isPuttable

public boolean isPuttable(long txTimestamp,
                          Object newVersion,
                          Comparator comparator)