Uses of Class
com.hazelcast.config.CacheSimpleConfig
Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
-
Uses of CacheSimpleConfig in com.hazelcast.config
Methods in com.hazelcast.config that return CacheSimpleConfig Modifier and Type Method Description CacheSimpleConfig
CacheSimpleConfig. addCachePartitionLostListenerConfig(CachePartitionLostListenerConfig listenerConfig)
Adds the CachePartitionLostListenerConfig to partitionLostListenerConfigs.CacheSimpleConfig
CacheSimpleConfig. addEntryListenerConfig(CacheSimpleEntryListenerConfig listenerConfig)
AddsCacheSimpleEntryListenerConfig
to thisICache
.CacheSimpleConfig
Config. findCacheConfig(String name)
Returns a read-onlyCacheSimpleConfig
configuration for the given name.CacheSimpleConfig
Config. findCacheConfigOrNull(String name)
Returns the cache config with the given name ornull
if there is none.CacheSimpleConfig
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
CacheSimpleConfig. setAsyncBackupCount(int asyncBackupCount)
Sets the number of asynchronous backups for thisICache
.CacheSimpleConfig
CacheSimpleConfig. setBackupCount(int backupCount)
Sets the number of synchronous backups for thisICache
.CacheSimpleConfig
CacheSimpleConfig. setCacheEntryListeners(List<CacheSimpleEntryListenerConfig> cacheEntryListeners)
Sets a list ofCacheSimpleEntryListenerConfig
for thisICache
.CacheSimpleConfig
CacheSimpleConfig. setCacheLoader(String cacheLoader)
Set classname of a class to be used asCacheLoader
.CacheSimpleConfig
CacheSimpleConfig. setCacheLoaderFactory(String cacheLoaderFactory)
Sets the factory for thisCacheLoader
.CacheSimpleConfig
CacheSimpleConfig. setCacheWriter(String cacheWriter)
Set classname of a class to be used asCacheWriter
.CacheSimpleConfig
CacheSimpleConfig. setCacheWriterFactory(String cacheWriterFactory)
Sets the factory for thisCacheWriter
.CacheSimpleConfig
CacheSimpleConfig. setDisablePerEntryInvalidationEvents(boolean disablePerEntryInvalidationEvents)
Sets invalidation events disabled status for per entry.CacheSimpleConfig
CacheSimpleConfig. setEventJournalConfig(EventJournalConfig eventJournalConfig)
Sets theEventJournalConfig
for thisCacheSimpleConfig
CacheSimpleConfig
CacheSimpleConfig. setEvictionConfig(EvictionConfig evictionConfig)
Sets the eviction configuration for thisICache
.CacheSimpleConfig
CacheSimpleConfig. setExpiryPolicyFactory(String className)
Sets the factory for thisExpiryPolicy
.CacheSimpleConfig
CacheSimpleConfig. setExpiryPolicyFactoryConfig(CacheSimpleConfig.ExpiryPolicyFactoryConfig expiryPolicyFactoryConfig)
Sets the factory configuration for thisExpiryPolicy
.CacheSimpleConfig
CacheSimpleConfig. setHotRestartConfig(HotRestartConfig hotRestartConfig)
Sets theHotRestartConfig
for thisCacheSimpleConfig
CacheSimpleConfig
CacheSimpleConfig. setInMemoryFormat(InMemoryFormat inMemoryFormat)
Sets the InMemory Format for thisICache
.CacheSimpleConfig
CacheSimpleConfig. setKeyType(String keyType)
Sets the key type for thisICache
.CacheSimpleConfig
CacheSimpleConfig. setManagementEnabled(boolean managementEnabled)
Sets management to enabled or disabled for thisICache
.CacheSimpleConfig
CacheSimpleConfig. setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
Sets theMergePolicyConfig
for this map.CacheSimpleConfig
CacheSimpleConfig. setName(String name)
Sets the name of thisICache
.CacheSimpleConfig
CacheSimpleConfig. setPartitionLostListenerConfigs(List<CachePartitionLostListenerConfig> partitionLostListenerConfigs)
Sets the PartitionLostListenerConfigs.CacheSimpleConfig
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
CacheSimpleConfig. setSplitBrainProtectionName(String splitBrainProtectionName)
Associates this cache configuration to a split brain protection.CacheSimpleConfig
CacheSimpleConfig. setStatisticsEnabled(boolean statisticsEnabled)
Sets statistics to enabled or disabled for thisICache
.CacheSimpleConfig
CacheSimpleConfig. setValueType(String valueType)
Sets the value type for thisICache
.CacheSimpleConfig
CacheSimpleConfig. setWanReplicationRef(WanReplicationRef wanReplicationRef)
Sets the WAN target replication reference.CacheSimpleConfig
CacheSimpleConfig. setWriteThrough(boolean writeThrough)
Enables or disables write-through for thisICache
: a write to the queue also loads the entry into the data store.Methods in com.hazelcast.config that return types with arguments of type CacheSimpleConfig Modifier and Type Method Description Map<String,CacheSimpleConfig>
Config. getCacheConfigs()
Returns the map of cache configurations, mapped by config name.Methods in com.hazelcast.config with parameters of type CacheSimpleConfig Modifier and Type Method Description Config
Config. addCacheConfig(CacheSimpleConfig cacheConfig)
Adds the cache configuration.Method parameters in com.hazelcast.config with type arguments of type CacheSimpleConfig Modifier and Type Method Description Config
Config. setCacheConfigs(Map<String,CacheSimpleConfig> cacheConfigs)
Sets the map of cache configurations, mapped by config name.Constructors in com.hazelcast.config with parameters of type CacheSimpleConfig Constructor Description CacheConfig(CacheSimpleConfig simpleConfig)
CacheSimpleConfig(CacheSimpleConfig cacheSimpleConfig)