K - the key type for the cacheV - the value type for the cachepublic interface CacheConfiguration<K,V>
Cache.
 Implementations are expected to be read-only.
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.ClassLoader | getClassLoader()The  ClassLoaderfor theCache. | 
| EvictionAdvisor<? super K,? super V> | getEvictionAdvisor()The  EvictionAdvisorpredicate function. | 
| Expiry<? super K,? super V> | getExpiry()Deprecated. 
 | 
| ExpiryPolicy<? super K,? super V> | getExpiryPolicy()The  ExpiryPolicyrules for theCache. | 
| java.lang.Class<K> | getKeyType()The key type for the  Cache. | 
| ResourcePools | getResourcePools()The  ResourcePoolsfor theCache. | 
| java.util.Collection<ServiceConfiguration<?>> | getServiceConfigurations()The service configurations defined for the  Cache. | 
| java.lang.Class<V> | getValueType()The value type for the  Cache. | 
java.util.Collection<ServiceConfiguration<?>> getServiceConfigurations()
Cache.
 Implementations must return an unmodifiable collection.
java.lang.Class<K> getKeyType()
Cache.
 
 The key type must not be null.
null classjava.lang.Class<V> getValueType()
Cache.
 
 The value type must not be null.
null classEvictionAdvisor<? super K,? super V> getEvictionAdvisor()
EvictionAdvisor predicate function.
 Entries which pass this predicate may be ignored by the eviction process. This is only a hint.
java.lang.ClassLoader getClassLoader()
ClassLoader for the Cache.
 
 This ClassLoader will be used to instantiate cache level services
 and for deserializing cache entries when required.
 
 The ClassLoader must not be null.
ClassLoader@Deprecated Expiry<? super K,? super V> getExpiry()
getExpiryPolicy()ExpiryExpiryPolicy<? super K,? super V> getExpiryPolicy()
ExpiryPolicyResourcePools getResourcePools()
ResourcePools