public class JCSConfiguration<K,V> extends Object implements javax.cache.configuration.CompleteConfiguration<K,V>
Constructor and Description |
---|
JCSConfiguration(javax.cache.configuration.Configuration<K,V> configuration,
Class<K> keyType,
Class<V> valueType) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(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.configuration.Factory<javax.cache.expiry.ExpiryPolicy> |
getExpiryPolicyFactory() |
Class<K> |
getKeyType() |
Class<V> |
getValueType() |
boolean |
isManagementEnabled() |
boolean |
isReadThrough() |
boolean |
isStatisticsEnabled() |
boolean |
isStoreByValue() |
boolean |
isWriteThrough() |
void |
managementDisabled() |
void |
managementEnabled() |
void |
removeListener(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration) |
void |
statisticsDisabled() |
void |
statisticsEnabled() |
public Class<K> getKeyType()
public Class<V> getValueType()
public boolean isStoreByValue()
public boolean isReadThrough()
public boolean isWriteThrough()
public boolean isStatisticsEnabled()
public boolean isManagementEnabled()
public Iterable<javax.cache.configuration.CacheEntryListenerConfiguration<K,V>> getCacheEntryListenerConfigurations()
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 void addListener(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)
public void removeListener(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)
public void statisticsEnabled()
public void managementEnabled()
public void statisticsDisabled()
public void managementDisabled()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.