|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 CacheDataDescriptionpublic boolean isVersioned()
CacheDataDescriptionCacheDataDescription.getVersionComparator() to return
null.
isVersioned in interface CacheDataDescriptionpublic Comparator getVersionComparator()
CacheDataDescriptionCacheDataDescription.isVersioned() returns false.
getVersionComparator in interface CacheDataDescriptionpublic 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 | |||||||||