Interface EvictableCache.Action<K,V,R>
- Type Parameters:
K- key typeV- value typeR- result type
- Enclosing interface:
- EvictableCache<K,
V>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents the action to deal with the cache
- Since:
- 3.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondoWith(EvictableCache<K, V> evictableCache) Performs work against the supplied cache.
-
Method Details
-
doWith
Performs work against the supplied cache.- Parameters:
evictableCache- the cache to operate on- Returns:
- the result produced by the action
-