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)