|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.cache.impl.bridge.OptimisticCacheSourceAdapter
public class OptimisticCacheSourceAdapter
Constructor Summary | |
---|---|
OptimisticCacheSourceAdapter(CacheDataDescription dataDescription)
|
Method Summary | |
---|---|
java.util.Comparator |
getVersionComparator()
Get the comparator used to compare two different version values. |
boolean |
isVersioned()
Is the data to be cached considered versioned? If true, it is illegal for OptimisticCacheSource.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 OptimisticCacheSourceAdapter(CacheDataDescription dataDescription)
Method Detail |
---|
public boolean isVersioned()
OptimisticCacheSource
OptimisticCacheSource.getVersionComparator()
to return
null.
isVersioned
in interface OptimisticCacheSource
public java.util.Comparator getVersionComparator()
OptimisticCacheSource
OptimisticCacheSource.isVersioned()
returns false.
getVersionComparator
in interface OptimisticCacheSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |