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 JCache
Cache
- Author:
- Nikita Koksharov
- See Also:
-
Constructor Summary
ConstructorDescriptionJCacheConfiguration
(javax.cache.configuration.Configuration<K, V> configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCacheEntryListenerConfiguration
(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) javax.cache.expiry.ExpiryPolicy
javax.cache.configuration.Factory
<javax.cache.expiry.ExpiryPolicy> boolean
boolean
boolean
boolean
boolean
void
removeCacheEntryListenerConfiguration
(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) void
setManagementEnabled
(boolean enabled) void
setStatisticsEnabled
(boolean enabled)
-
Constructor Details
-
JCacheConfiguration
-
-
Method Details
-
getKeyType
-
getValueType
-
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
-
addCacheEntryListenerConfiguration
-
removeCacheEntryListenerConfiguration
-
getCacheLoaderFactory
-
getCacheWriterFactory
-
getExpiryPolicyFactory
public javax.cache.configuration.Factory<javax.cache.expiry.ExpiryPolicy> getExpiryPolicyFactory() -
getExpiryPolicy
public javax.cache.expiry.ExpiryPolicy getExpiryPolicy()
-