K
- key typeV
- value typeSerializable
, 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>
Cache
Constructor | Description |
---|---|
JCacheConfiguration(javax.cache.configuration.Configuration<K,V> configuration) |
Modifier and Type | Method | 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.