Uses of Class
com.hazelcast.config.CacheSimpleConfig
-
Uses of CacheSimpleConfig in com.hazelcast.config
Modifier and TypeMethodDescriptionCacheSimpleConfig.addCachePartitionLostListenerConfig
(CachePartitionLostListenerConfig listenerConfig) Adds the CachePartitionLostListenerConfig to partitionLostListenerConfigs.CacheSimpleConfig.addEntryListenerConfig
(CacheSimpleEntryListenerConfig listenerConfig) AddsCacheSimpleEntryListenerConfig
to thisICache
.Config.findCacheConfig
(String name) Returns a read-onlyCacheSimpleConfig
configuration for the given name.Config.findCacheConfigOrNull
(String name) Returns the cache config with the given name ornull
if there is none.Config.getCacheConfig
(String name) Returns the CacheSimpleConfig for the given name, creating one if necessary and adding it to the collection of known configurations.CacheSimpleConfig.setAsyncBackupCount
(int asyncBackupCount) Sets the number of asynchronous backups for thisICache
.CacheSimpleConfig.setBackupCount
(int backupCount) Sets the number of synchronous backups for thisICache
.CacheSimpleConfig.setCacheEntryListeners
(List<CacheSimpleEntryListenerConfig> cacheEntryListeners) Sets a list ofCacheSimpleEntryListenerConfig
for thisICache
.CacheSimpleConfig.setCacheLoader
(String cacheLoader) Set classname of a class to be used asCacheLoader
.CacheSimpleConfig.setCacheLoaderFactory
(String cacheLoaderFactory) Sets the factory for thisCacheLoader
.CacheSimpleConfig.setCacheWriter
(String cacheWriter) Set classname of a class to be used asCacheWriter
.CacheSimpleConfig.setCacheWriterFactory
(String cacheWriterFactory) Sets the factory for thisCacheWriter
.CacheSimpleConfig.setDataPersistenceConfig
(DataPersistenceConfig dataPersistenceConfig) Sets theDataPersistenceConfig
for thisCacheSimpleConfig
CacheSimpleConfig.setDisablePerEntryInvalidationEvents
(boolean disablePerEntryInvalidationEvents) Sets invalidation events disabled status for per entry.CacheSimpleConfig.setEventJournalConfig
(EventJournalConfig eventJournalConfig) Sets theEventJournalConfig
for thisCacheSimpleConfig
CacheSimpleConfig.setEvictionConfig
(EvictionConfig evictionConfig) Sets the eviction configuration for thisICache
.CacheSimpleConfig.setExpiryPolicyFactory
(String className) Sets the factory for thisExpiryPolicy
.CacheSimpleConfig.setExpiryPolicyFactoryConfig
(CacheSimpleConfig.ExpiryPolicyFactoryConfig expiryPolicyFactoryConfig) Sets the factory configuration for thisExpiryPolicy
.CacheSimpleConfig.setHotRestartConfig
(HotRestartConfig hotRestartConfig) Deprecated.CacheSimpleConfig.setInMemoryFormat
(InMemoryFormat inMemoryFormat) Sets the InMemory Format for thisICache
.CacheSimpleConfig.setKeyType
(String keyType) Sets the key type for thisICache
.CacheSimpleConfig.setManagementEnabled
(boolean managementEnabled) Sets management to enabled or disabled for thisICache
.CacheSimpleConfig.setMergePolicyConfig
(MergePolicyConfig mergePolicyConfig) Sets theMergePolicyConfig
for this map.CacheSimpleConfig.setMerkleTreeConfig
(MerkleTreeConfig merkleTreeConfig) Sets theMerkleTreeConfig
for thisCacheSimpleConfig
Sets the name of thisICache
.CacheSimpleConfig.setPartitionLostListenerConfigs
(List<CachePartitionLostListenerConfig> partitionLostListenerConfigs) Sets the PartitionLostListenerConfigs.CacheSimpleConfig.setReadThrough
(boolean readThrough) Enables or disables read-through: a read loads the entry from the data store if it is not already in the cache.CacheSimpleConfig.setSplitBrainProtectionName
(String splitBrainProtectionName) Associates this cache configuration to a split brain protection.CacheSimpleConfig.setStatisticsEnabled
(boolean statisticsEnabled) Sets statistics to enabled or disabled for thisICache
.CacheSimpleConfig.setUserCodeNamespace
(String userCodeNamespace) Associates the provided Namespace Name with this structure forClassLoader
awareness.CacheSimpleConfig.setValueType
(String valueType) Sets the value type for thisICache
.CacheSimpleConfig.setWanReplicationRef
(WanReplicationRef wanReplicationRef) Sets the WAN target replication reference.CacheSimpleConfig.setWriteThrough
(boolean writeThrough) Enables or disables write-through for thisICache
: a write to the queue also loads the entry into the data store.Modifier and TypeMethodDescriptionConfig.getCacheConfigs()
Returns the map of cache configurations, mapped by config name.Modifier and TypeMethodDescriptionConfig.addCacheConfig
(CacheSimpleConfig cacheConfig) Adds the cache configuration.Modifier and TypeMethodDescriptionConfig.setCacheConfigs
(Map<String, CacheSimpleConfig> cacheConfigs) Sets the map of cache configurations, mapped by config name.ModifierConstructorDescriptionCacheConfig
(CacheSimpleConfig simpleConfig) CacheSimpleConfig
(CacheSimpleConfig cacheSimpleConfig)
setDataPersistenceConfig(DataPersistenceConfig)