public static interface CacheMarshaller.ValidationPolicy
getValidCachedData(getCacheableData(o), conf)
should
return an object equivalent to o
in the expected case.
Implementations of this class will often also implement
Configurable
in order to receive the current
Configuration
.Modifier and Type | Method and Description |
---|---|
Object |
getCacheableData(Object o)
Return an object that the
CacheMarshaller should store. |
Object |
getValidData(Object o)
Returns an object that this policy considers to be valid, based
on
o . |
Object getValidData(Object o)
o
. If o
is not valid, this method
will return null
.Object getCacheableData(Object o)
CacheMarshaller
should store.Copyright © 2006–2022 Apache Software Foundation. All rights reserved.