Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Method and Description |
---|---|
CacheSimpleConfig |
CacheSimpleConfig.addCachePartitionLostListenerConfig(CachePartitionLostListenerConfig listenerConfig)
Adds the CachePartitionLostListenerConfig to partitionLostListenerConfigs.
|
CacheSimpleConfig |
CacheSimpleConfig.addEntryListenerConfig(CacheSimpleEntryListenerConfig listenerConfig)
Adds
CacheSimpleEntryListenerConfig to this ICache . |
CacheSimpleConfig |
Config.findCacheConfig(String name)
Returns a read-only
CacheSimpleConfig configuration for the given name. |
CacheSimpleConfig |
Config.findCacheConfigOrNull(String name)
Returns the cache config with the given name or
null 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 this
ICache . |
CacheSimpleConfig |
CacheSimpleConfig.setBackupCount(int backupCount)
Sets the number of synchronous backups for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfig.setCacheEntryListeners(List<CacheSimpleEntryListenerConfig> cacheEntryListeners)
Sets a list of
CacheSimpleEntryListenerConfig for this ICache . |
CacheSimpleConfig |
CacheSimpleConfig.setCacheLoader(String cacheLoader)
Set classname of a class to be used as
CacheLoader . |
CacheSimpleConfig |
CacheSimpleConfig.setCacheLoaderFactory(String cacheLoaderFactory)
Sets the factory for this
CacheLoader . |
CacheSimpleConfig |
CacheSimpleConfig.setCacheWriter(String cacheWriter)
Set classname of a class to be used as
CacheWriter . |
CacheSimpleConfig |
CacheSimpleConfig.setCacheWriterFactory(String cacheWriterFactory)
Sets the factory for this
CacheWriter . |
CacheSimpleConfig |
CacheSimpleConfig.setDataPersistenceConfig(DataPersistenceConfig dataPersistenceConfig)
Sets the
DataPersistenceConfig for this CacheSimpleConfig |
CacheSimpleConfig |
CacheSimpleConfig.setDisablePerEntryInvalidationEvents(boolean disablePerEntryInvalidationEvents)
Sets invalidation events disabled status for per entry.
|
CacheSimpleConfig |
CacheSimpleConfig.setEventJournalConfig(EventJournalConfig eventJournalConfig)
Sets the
EventJournalConfig for this CacheSimpleConfig |
CacheSimpleConfig |
CacheSimpleConfig.setEvictionConfig(EvictionConfig evictionConfig)
Sets the eviction configuration for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfig.setExpiryPolicyFactory(String className)
Sets the factory for this
ExpiryPolicy . |
CacheSimpleConfig |
CacheSimpleConfig.setExpiryPolicyFactoryConfig(CacheSimpleConfig.ExpiryPolicyFactoryConfig expiryPolicyFactoryConfig)
Sets the factory configuration for this
ExpiryPolicy . |
CacheSimpleConfig |
CacheSimpleConfig.setHotRestartConfig(HotRestartConfig hotRestartConfig)
Deprecated.
since 5.0 use
setDataPersistenceConfig(DataPersistenceConfig) |
CacheSimpleConfig |
CacheSimpleConfig.setInMemoryFormat(InMemoryFormat inMemoryFormat)
Sets the InMemory Format for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfig.setKeyType(String keyType)
Sets the key type for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfig.setManagementEnabled(boolean managementEnabled)
Sets management to enabled or disabled for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfig.setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
Sets the
MergePolicyConfig for this map. |
CacheSimpleConfig |
CacheSimpleConfig.setMerkleTreeConfig(MerkleTreeConfig merkleTreeConfig)
Sets the
MerkleTreeConfig for this CacheSimpleConfig |
CacheSimpleConfig |
CacheSimpleConfig.setName(String name)
Sets the name of this
ICache . |
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 this
ICache . |
CacheSimpleConfig |
CacheSimpleConfig.setValueType(String valueType)
Sets the value type for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfig.setWanReplicationRef(WanReplicationRef wanReplicationRef)
Sets the WAN target replication reference.
|
CacheSimpleConfig |
CacheSimpleConfig.setWriteThrough(boolean writeThrough)
Enables or disables write-through for this
ICache : a write to the queue also loads
the entry into the data store. |
Modifier and Type | Method and Description |
---|---|
Map<String,CacheSimpleConfig> |
Config.getCacheConfigs()
Returns the map of cache configurations, mapped by config name.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.addCacheConfig(CacheSimpleConfig cacheConfig)
Adds the cache configuration.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.setCacheConfigs(Map<String,CacheSimpleConfig> cacheConfigs)
Sets the map of cache configurations, mapped by config name.
|
Constructor and Description |
---|
CacheConfig(CacheSimpleConfig simpleConfig) |
CacheSimpleConfig(CacheSimpleConfig cacheSimpleConfig) |
Copyright © 2021 Hazelcast, Inc.. All rights reserved.