Class JCacheConfiguration<K,V>
- java.lang.Object
-
- org.redisson.jcache.configuration.JCacheConfiguration<K,V>
-
- Type Parameters:
K- key typeV- value type
- All Implemented Interfaces:
Serializable,javax.cache.configuration.CompleteConfiguration<K,V>,javax.cache.configuration.Configuration<K,V>
public class JCacheConfiguration<K,V> extends Object implements javax.cache.configuration.CompleteConfiguration<K,V>
Configuration object for JCacheCache- Author:
- Nikita Koksharov
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JCacheConfiguration(javax.cache.configuration.Configuration<K,V> configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCacheEntryListenerConfiguration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)Iterable<javax.cache.configuration.CacheEntryListenerConfiguration<K,V>>getCacheEntryListenerConfigurations()javax.cache.configuration.Factory<javax.cache.integration.CacheLoader<K,V>>getCacheLoaderFactory()javax.cache.configuration.Factory<javax.cache.integration.CacheWriter<? super K,? super V>>getCacheWriterFactory()javax.cache.expiry.ExpiryPolicygetExpiryPolicy()javax.cache.configuration.Factory<javax.cache.expiry.ExpiryPolicy>getExpiryPolicyFactory()Class<K>getKeyType()Class<V>getValueType()booleanisManagementEnabled()booleanisReadThrough()booleanisStatisticsEnabled()booleanisStoreByValue()booleanisWriteThrough()voidremoveCacheEntryListenerConfiguration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)voidsetManagementEnabled(boolean enabled)voidsetStatisticsEnabled(boolean enabled)
-
-
-
Method Detail
-
isStoreByValue
public boolean isStoreByValue()
-
isReadThrough
public boolean isReadThrough()
-
isWriteThrough
public boolean isWriteThrough()
-
isStatisticsEnabled
public boolean isStatisticsEnabled()
-
setStatisticsEnabled
public void setStatisticsEnabled(boolean enabled)
-
setManagementEnabled
public void setManagementEnabled(boolean enabled)
-
isManagementEnabled
public boolean isManagementEnabled()
-
getCacheEntryListenerConfigurations
public Iterable<javax.cache.configuration.CacheEntryListenerConfiguration<K,V>> getCacheEntryListenerConfigurations()
-
addCacheEntryListenerConfiguration
public void addCacheEntryListenerConfiguration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)
-
removeCacheEntryListenerConfiguration
public void removeCacheEntryListenerConfiguration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)
-
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
public javax.cache.configuration.Factory<javax.cache.expiry.ExpiryPolicy> getExpiryPolicyFactory()
-
getExpiryPolicy
public javax.cache.expiry.ExpiryPolicy getExpiryPolicy()
-
-