|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.cache.impl.CacheDataDescriptionImpl
public class CacheDataDescriptionImpl
Constructor Summary | |
---|---|
CacheDataDescriptionImpl(boolean mutable,
boolean versioned,
Comparator versionComparator)
|
Method Summary | |
---|---|
static CacheDataDescriptionImpl |
decode(Collection model)
|
static CacheDataDescriptionImpl |
decode(PersistentClass model)
|
Comparator |
getVersionComparator()
Get the comparator used to compare two different version values. |
boolean |
isMutable()
Is the data marked as being mutable? |
boolean |
isVersioned()
Is the data to be cached considered versioned? If true, it is illegal for CacheDataDescription.getVersionComparator() to return
null. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheDataDescriptionImpl(boolean mutable, boolean versioned, Comparator versionComparator)
Method Detail |
---|
public boolean isMutable()
CacheDataDescription
isMutable
in interface CacheDataDescription
public boolean isVersioned()
CacheDataDescription
CacheDataDescription.getVersionComparator()
to return
null.
isVersioned
in interface CacheDataDescription
public Comparator getVersionComparator()
CacheDataDescription
CacheDataDescription.isVersioned()
returns false.
getVersionComparator
in interface CacheDataDescription
public static CacheDataDescriptionImpl decode(PersistentClass model)
public static CacheDataDescriptionImpl decode(Collection model)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |