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