public interface CacheDataDescription
| Modifier and Type | Method and Description |
|---|---|
Type |
getKeyType() |
Comparator |
getVersionComparator()
Get the comparator used to compare two different version values.
|
boolean |
isMutable()
Is the data marked as being mutable?
|
boolean |
isVersioned()
Is the data to be cached considered versioned?
If
true, it is illegal for getVersionComparator() to return null
or an instance of IncomparableComparator. |
boolean isMutable()
true if the data is mutable; false otherwise.boolean isVersioned()
true, it is illegal for getVersionComparator() to return null
or an instance of IncomparableComparator.true if the data is versioned; false otherwise.Comparator getVersionComparator()
null if
isVersioned() returns false.nullType getKeyType()
null if the natural comparison
(Object.hashCode() and Object.equals(Object) methods should be used.Copyright © 2017 JBoss by Red Hat. All rights reserved.