public interface OptimisticCacheSource
EntityPersisters are
 the only viable source.| Modifier and Type | Method and Description | 
|---|---|
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. | 
boolean isVersioned()
getVersionComparator() to return
 null.Comparator getVersionComparator()
isVersioned() returns false.Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.