Class CacheGroupsHandler
java.lang.Object
org.apache.cayenne.cache.invalidation.CacheGroupsHandler
- All Implemented Interfaces:
InvalidationHandler
- Since:
- 4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncanHandle(Class<? extends Persistent> type) Return invalidation function that returns values ofCacheGroupsandCacheGroupannotations for the given type.
-
Constructor Details
-
CacheGroupsHandler
public CacheGroupsHandler()
-
-
Method Details
-
canHandle
public Function<Persistent,Collection<CacheGroupDescriptor>> canHandle(Class<? extends Persistent> type) Return invalidation function that returns values ofCacheGroupsandCacheGroupannotations for the given type.- Specified by:
canHandlein interfaceInvalidationHandler- Returns:
- invalidation function or null if there is nothing to invalidate
-