K
- key typeV
- value typepublic class JCacheConfiguration<K,V> extends Object implements javax.cache.configuration.CompleteConfiguration<K,V>
Cache
Constructor and Description |
---|
JCacheConfiguration(javax.cache.configuration.Configuration<K,V> configuration) |
Modifier and Type | Method and Description |
---|---|
void |
addCacheEntryListenerConfiguration(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.ExpiryPolicy |
getExpiryPolicy() |
javax.cache.configuration.Factory<javax.cache.expiry.ExpiryPolicy> |
getExpiryPolicyFactory() |
Class<K> |
getKeyType() |
Class<V> |
getValueType() |
boolean |
isManagementEnabled() |
boolean |
isReadThrough() |
boolean |
isStatisticsEnabled() |
boolean |
isStoreByValue() |
boolean |
isWriteThrough() |
void |
removeCacheEntryListenerConfiguration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration) |
void |
setManagementEnabled(boolean enabled) |
void |
setStatisticsEnabled(boolean enabled) |
public boolean isStoreByValue()
public boolean isReadThrough()
public boolean isWriteThrough()
public boolean isStatisticsEnabled()
public void setStatisticsEnabled(boolean enabled)
public void setManagementEnabled(boolean enabled)
public boolean isManagementEnabled()
public Iterable<javax.cache.configuration.CacheEntryListenerConfiguration<K,V>> getCacheEntryListenerConfigurations()
public void addCacheEntryListenerConfiguration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)
public void removeCacheEntryListenerConfiguration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)
public javax.cache.configuration.Factory<javax.cache.integration.CacheLoader<K,V>> getCacheLoaderFactory()
public javax.cache.configuration.Factory<javax.cache.integration.CacheWriter<? super K,? super V>> getCacheWriterFactory()
public javax.cache.configuration.Factory<javax.cache.expiry.ExpiryPolicy> getExpiryPolicyFactory()
public javax.cache.expiry.ExpiryPolicy getExpiryPolicy()
Copyright © 2014–2018 The Redisson Project. All rights reserved.