Package org.apache.commons.jcs3.jcache
Class JCSConfiguration<K,V>
java.lang.Object
org.apache.commons.jcs3.jcache.JCSConfiguration<K,V>
- All Implemented Interfaces:
Serializable
,javax.cache.configuration.CompleteConfiguration<K,
,V> javax.cache.configuration.Configuration<K,
V>
public class JCSConfiguration<K,V>
extends Object
implements javax.cache.configuration.CompleteConfiguration<K,V>
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) javax.cache.configuration.Factory<javax.cache.expiry.ExpiryPolicy>
boolean
boolean
boolean
boolean
boolean
void
void
void
removeListener
(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) void
void
-
Constructor Details
-
JCSConfiguration
-
-
Method Details
-
getKeyType
-
getValueType
-
isStoreByValue
-
isReadThrough
-
isWriteThrough
-
isStatisticsEnabled
-
isManagementEnabled
-
getCacheEntryListenerConfigurations
public Iterable<javax.cache.configuration.CacheEntryListenerConfiguration<K,V>> getCacheEntryListenerConfigurations() -
getCacheLoaderFactory
public javax.cache.configuration.Factory<javax.cache.integration.CacheLoader<K,V>> getCacheLoaderFactory() -
getCacheWriterFactory
public javax.cache.configuration.Factory<javax.cache.integration.CacheWriter<? super K,? super V>> getCacheWriterFactory() -
getExpiryPolicyFactory
-
addListener
public void addListener(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) -
removeListener
public void removeListener(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) -
statisticsEnabled
-
managementEnabled
-
statisticsDisabled
-
managementDisabled
-