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 . |
boolean isMutable()
true
if the data is mutable; false
otherwise.boolean isVersioned()
true
, it is illegal for getVersionComparator()
to return null
.true
if the data is versioned; false
otherwise.Comparator getVersionComparator()
null
if
isVersioned()
returns false.null
Type getKeyType()
null
if the natural comparison
(Object.hashCode()
and Object.equals(Object)
methods should be used.Copyright © 2016 JBoss by Red Hat. All rights reserved.