Interface EntityCacheConfiguration<K,V>
- All Known Implementing Classes:
EntityConditionCacheConfiguration,GroovySelectorCacheConfiguration
public interface EntityCacheConfiguration<K,V>
Defines the behaviour of a cache type used by
CacheControl-
Method Summary
Modifier and TypeMethodDescriptionfindKeysToExpire(com.google.common.cache.Cache<K, V> cache, Entity invalidatedEntity) invalidate a cache entrygetName()
-
Method Details
-
getName
String getName()- Returns:
- unique name of the cache type
-
findKeysToExpire
invalidate a cache entry- Returns:
- all keys that should be removed from the cache (because they belong to the given invalidated entity)
-