|
||||||||||
| 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()
OptimisticCacheSourceOptimisticCacheSource.getVersionComparator() to return
null.
isVersioned in interface OptimisticCacheSourcepublic java.util.Comparator getVersionComparator()
OptimisticCacheSourceOptimisticCacheSource.isVersioned() returns false.
getVersionComparator in interface OptimisticCacheSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||