org.hibernate.cache

Interface ReadWriteCache.Lockable

Known Implementing Classes:
ReadWriteCache.Item, ReadWriteCache.Lock

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 Details

isGettable

public boolean isGettable(long txTimestamp)

isLock

public boolean isLock()

isPuttable

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

lock

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