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 |
|---|---|
java.lang.Object |
getCacheableData(java.lang.Object o)
Return an object that the
CacheMarshaller should store. |
java.lang.Object |
getValidData(java.lang.Object o)
Returns an object that this policy considers to be valid, based
on
o. |
java.lang.Object getValidData(java.lang.Object o)
o. If o is not valid, this method
will return null.java.lang.Object getCacheableData(java.lang.Object o)
CacheMarshaller should store.Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.