| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OptimisticCacheSource
Contract for sources of optimistically lockable data sent to the second level cache.
Note currentlyEntityPersisters are
 the only viable source.
| Method Summary | |
|---|---|
|  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 getVersionComparator()to return
 null. | 
| Method Detail | 
|---|
boolean isVersioned()
getVersionComparator() to return
 null.
Comparator getVersionComparator()
isVersioned() returns false.
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||