Class CacheGroupsHandler
- java.lang.Object
-
- org.apache.cayenne.cache.invalidation.CacheGroupsHandler
-
- All Implemented Interfaces:
InvalidationHandler
public class CacheGroupsHandler extends Object implements InvalidationHandler
- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description CacheGroupsHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Function<Persistent,Collection<CacheGroupDescriptor>>canHandle(Class<? extends Persistent> type)Return invalidation function that returns values ofCacheGroupsandCacheGroupannotations for the given type.
-
-
-
Method Detail
-
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
-
-