Interface DistributedCache<K,V>
-
- Type Parameters:
K
- the key type of the cacheV
- the value type of the cache
- All Superinterfaces:
com.github.benmanes.caffeine.cache.Cache<K,V>
- All Known Subinterfaces:
DistributedLoadingCache<K,V>
public interface DistributedCache<K,V> extends com.github.benmanes.caffeine.cache.Cache<K,V>
Interface representing a cache instance. Cache entries are manually added and are stored in the cache until either invalidated or evicted.- Author:
- Andreas Oberhoff
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DistributedPolicy<K,V>
distributedPolicy()
Returns an access point for inspecting and performing low-level operations on the cache instance.
-
-
-
Method Detail
-
distributedPolicy
DistributedPolicy<K,V> distributedPolicy()
Returns an access point for inspecting and performing low-level operations on the cache instance.- Returns:
- the
DistributedPolicy
as an access point
-
-