Uses of Interface
com.hazelcast.config.CacheConfiguration
-
Uses of CacheConfiguration in com.hazelcast.config
Modifier and TypeClassDescriptionclass
AbstractCacheConfig<K,
V> Base class forCacheConfig
class
CacheConfig<K,
V> Contains all the configuration for theICache
.Modifier and TypeMethodDescriptionAbstractCacheConfig.addCacheEntryListenerConfiguration
(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) Add a configuration for aCacheEntryListener
.CacheConfiguration.addCacheEntryListenerConfiguration
(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) Add a configuration for aCacheEntryListener
.AbstractCacheConfig.removeCacheEntryListenerConfiguration
(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) Remove a configuration for aCacheEntryListener
.CacheConfiguration.removeCacheEntryListenerConfiguration
(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) Remove a configuration for aCacheEntryListener
.AbstractCacheConfig.setCacheLoaderFactory
(javax.cache.configuration.Factory<? extends javax.cache.integration.CacheLoader<K, V>> cacheLoaderFactory) CacheConfiguration.setCacheLoaderFactory
(javax.cache.configuration.Factory<? extends javax.cache.integration.CacheLoader<K, V>> factory) Set theCacheLoader
factory.AbstractCacheConfig.setCacheWriterFactory
(javax.cache.configuration.Factory<? extends javax.cache.integration.CacheWriter<? super K, ? super V>> cacheWriterFactory) CacheConfiguration.setCacheWriterFactory
(javax.cache.configuration.Factory<? extends javax.cache.integration.CacheWriter<? super K, ? super V>> factory) Set theCacheWriter
factory.AbstractCacheConfig.setDataPersistenceConfig
(DataPersistenceConfig dataPersistenceConfig) Sets theDataPersistenceConfig
for thisCacheConfiguration
AbstractCacheConfig.setEventJournalConfig
(EventJournalConfig eventJournalConfig) Sets theEventJournalConfig
for thisCacheConfiguration
AbstractCacheConfig.setExpiryPolicyFactory
(javax.cache.configuration.Factory<? extends javax.cache.expiry.ExpiryPolicy> expiryPolicyFactory) CacheConfiguration.setExpiryPolicyFactory
(javax.cache.configuration.Factory<? extends javax.cache.expiry.ExpiryPolicy> factory) Set theFactory
for theExpiryPolicy
.AbstractCacheConfig.setHotRestartConfig
(HotRestartConfig hotRestartConfig) Deprecated.AbstractCacheConfig.setKeyClassName
(String keyClassName) AbstractCacheConfig.setKeyType
(Class<K> keyType) AbstractCacheConfig.setListenerConfigurations()
protected CacheConfiguration<K,
V> AbstractCacheConfig.setListenerConfigurations
(Set<javax.cache.configuration.CacheEntryListenerConfiguration<K, V>> listeners) AbstractCacheConfig.setManagementEnabled
(boolean enabled) Sets whether or not management is enabled on this cache.CacheConfiguration.setManagementEnabled
(boolean enabled) Sets whether management is enabled on a cache.AbstractCacheConfig.setReadThrough
(boolean isReadThrough) CacheConfiguration.setReadThrough
(boolean isReadThrough) Set if read-through caching should be used.AbstractCacheConfig.setStatisticsEnabled
(boolean enabled) Sets whether or not statistics gathering is enabled on this cache.CacheConfiguration.setStatisticsEnabled
(boolean enabled) Sets whether statistics gathering is enabled on a cache.AbstractCacheConfig.setStoreByValue
(boolean storeByValue) Set if a configured cache should use store-by-value or store-by-reference semantics.CacheConfiguration.setStoreByValue
(boolean isStoreByValue) Set if a configured cache should use store-by-value or store-by-reference semantics.Sets the expected type of keys and values for aCache
configured with thisConfiguration
.Sets the expected type of keys and values for aCache
configured with thisConfiguration
.AbstractCacheConfig.setValueClassName
(String valueClassName) AbstractCacheConfig.setValueType
(Class<V> valueType) AbstractCacheConfig.setWriteThrough
(boolean isWriteThrough) CacheConfiguration.setWriteThrough
(boolean isWriteThrough) Set if write-through caching should be used.
AbstractCacheConfig.setDataPersistenceConfig(DataPersistenceConfig)