public interface CacheDataDescription
Describes attributes regarding the type of data to be cached.
| 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?
|
boolean isMutable()
Is the data marked as being mutable?
true if the data is mutable; false otherwise.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.
true if the data is versioned; false otherwise.Comparator getVersionComparator()
Get the comparator used to compare two different version values. May return null <b>if</b>
isVersioned() returns false.
nullType getKeyType()
null if the natural comparison
(Object.hashCode() and Object.equals(Object) methods should be used.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.