public interface OptimisticCacheSource
EntityPersister
s 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 © 2018 JBoss by Red Hat. All rights reserved.