org.hibernate.cache
Interface CacheDataDescription
- CacheDataDescriptionImpl
public interface CacheDataDescription
Describes attributes regarding the type of data to be cached.
getVersionComparator
public Comparator getVersionComparator()
Get the comparator used to compare two different version values.
May return null
if isVersioned()
returns false.
isMutable
public boolean isMutable()
Is the data marked as being mutable?
- True if the data is mutable; false otherwise.
isVersioned
public boolean isVersioned()
Is the data to be cached considered versioned?
If true, it is illegal for
getVersionComparator()
to return
null.
- True if the data is versioned; false otherwise.