Interface CacheMarshaller.ValidationPolicy
- All Known Implementing Classes:
OpenJPAVersionAndConfigurationTypeValidationPolicy
- Enclosing interface:
CacheMarshaller
public static interface CacheMarshaller.ValidationPolicy
Validation policies are responsible for computing whether or not a
cached data structure is valid for the current context.
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.- Since:
- 1.1.0
-
Method Summary
Modifier and TypeMethodDescriptionReturn an object that theCacheMarshallershould store.Returns an object that this policy considers to be valid, based ono.
-
Method Details
-
getValidData
-
getCacheableData
Return an object that theCacheMarshallershould store.
-