| Modifier and Type | Method and Description |
|---|---|
void |
addAtomicLongConfig(String name,
String quorumName)
Adds a new atomic long configuration to a running cluster.
|
void |
addAtomicReferenceConfig(String name,
String quorumName)
Adds a new atomic reference configuration to a running cluster.
|
void |
addCacheConfig(String name,
String keyType,
String valueType,
boolean statisticsEnabled,
boolean managementEnabled,
boolean readThrough,
boolean writeThrough,
String cacheLoaderFactory,
String cacheWriterFactory,
String cacheLoader,
String cacheWriter,
int backupCount,
int asyncBackupCount,
String inMemoryFormat,
String quorumName,
String mergePolicy,
boolean disablePerEntryInvalidationEvents,
List<ListenerConfigHolder> partitionLostListenerConfigs,
String expiryPolicyFactoryClassName,
CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig timedExpiryPolicyFactoryConfig,
List<CacheSimpleEntryListenerConfig> cacheEntryListeners,
EvictionConfigHolder evictionConfig,
WanReplicationRef wanReplicationRef,
HotRestartConfig hotRestartConfig)
Adds a new cache configuration to a running cluster.
|
void |
addCardinalityEstimatorConfig(String name,
int backupCount,
int asyncBackupCount,
String quorumName)
Adds a new cardinality estimator configuration to a running cluster.
|
void |
addCountDownLatchConfig(String name,
String quorumName)
Adds a new count down latch configuration to a running cluster.
|
void |
addDurableExecutorConfig(String name,
int poolSize,
int durability,
int capacity,
String quorumName)
Adds a new durable executor configuration to a running cluster.
|
void |
addEventJournalConfig(String mapName,
String cacheName,
boolean enabled,
int capacity,
int timeToLiveSeconds)
Adds a new event journal configuration to a running cluster.
|
void |
addExecutorConfig(String name,
int poolSize,
int queueCapacity,
boolean statisticsEnabled,
String quorumName)
Adds a new executor configuration to a running cluster.
|
void |
addListConfig(String name,
List<ListenerConfigHolder> listenerConfigs,
int backupCount,
int asyncBackupCount,
int maxSize,
boolean statisticsEnabled,
String quorumName)
Adds a new list configuration to a running cluster.
|
void |
addLockConfig(String name,
String quorumName)
Adds a new lock configuration to a running cluster.
|
void |
addMapConfig(String name,
int backupCount,
int asyncBackupCount,
int timeToLiveSeconds,
int maxIdleSeconds,
String evictionPolicy,
boolean readBackupData,
String cacheDeserializedValues,
String mergePolicy,
String inMemoryFormat,
List<ListenerConfigHolder> listenerConfigs,
List<ListenerConfigHolder> partitionLostListenerConfigs,
boolean statisticsEnabled,
String quorumName,
Data mapEvictionPolicy,
String maxSizeConfigMaxSizePolicy,
int maxSizeConfigSize,
MapStoreConfigHolder mapStoreConfig,
NearCacheConfigHolder nearCacheConfig,
WanReplicationRef wanReplicationRef,
List<MapIndexConfig> mapIndexConfigs,
List<MapAttributeConfig> mapAttributeConfigs,
List<QueryCacheConfigHolder> queryCacheConfigs,
String partitioningStrategyClassName,
Data partitioningStrategyImplementation,
HotRestartConfig hotRestartConfig)
Adds a new map configuration to a running cluster.
|
void |
addMultiMapConfig(String name,
String collectionType,
List<ListenerConfigHolder> listenerConfigs,
boolean binary,
int backupCount,
int asyncBackupCount,
boolean statisticsEnabled,
String quorumName)
Adds a new multimap config to a running cluster.
|
void |
addQueueConfig(String name,
List<ListenerConfigHolder> listenerConfigs,
int backupCount,
int asyncBackupCount,
int maxSize,
int emptyQueueTtl,
boolean statisticsEnabled,
String quorumName,
QueueStoreConfigHolder queueStoreConfig)
Adds a new queue configuration to a running cluster.
|
void |
addReliableIdGeneratorConfig(String name,
int prefetchCount,
long prefetchValidity)
Adds a new reliable ID generator configuration to a running cluster.
|
void |
addReliableTopicConfig(String name,
List<ListenerConfigHolder> listenerConfigs,
int readBatchSize,
boolean statisticsEnabled,
String topicOverloadPolicy,
Data executor)
Adds a new reliable topic configuration to a running cluster.
|
void |
addReplicatedMapConfig(String name,
String inMemoryFormat,
boolean asyncFillup,
boolean statisticsEnabled,
String mergePolicy,
List<ListenerConfigHolder> listenerConfigs,
String quorumName)
Adds a new replicated map configuration to a running cluster.
|
void |
addRingbufferConfig(String name,
int capacity,
int backupCount,
int asyncBackupCount,
int timeToLiveSeconds,
String inMemoryFormat,
RingbufferStoreConfigHolder ringbufferStoreConfig,
String quorumName)
Adds a new ringbuffer configuration to a running cluster.
|
void |
addScheduledExecutorConfig(String name,
int poolSize,
int durability,
int capacity,
String quorumName)
Adds a new scheduled executor configuration to a running cluster.
|
void |
addSemaphoreConfig(String name,
int initialPermits,
int backupCount,
int asyncBackupCount,
String quorumName)
Adds a new semaphore configuration to a running cluster.
|
void |
addSetConfig(String name,
List<ListenerConfigHolder> listenerConfigs,
int backupCount,
int asyncBackupCount,
int maxSize,
boolean statisticsEnabled,
String quorumName)
Adds a new set configuration to a running cluster.
|
void |
addTopicConfig(String name,
boolean globalOrderingEnabled,
boolean statisticsEnabled,
boolean multiThreadingEnabled,
List<ListenerConfigHolder> listenerConfigs)
Adds a new topic configuration to a running cluster.
|
void addMultiMapConfig(String name, String collectionType, @Nullable List<ListenerConfigHolder> listenerConfigs, boolean binary, int backupCount, int asyncBackupCount, boolean statisticsEnabled, @Since(value="1.6") @Nullable String quorumName)
name already exists, then
the new multimap config is ignored and the existing one is preserved.name - multimap configuration namecollectionType - value collection type. Valid values are SET and LIST.listenerConfigs - entry listener configurationsbinary - true to store values in BINARY format or false to store
values in OBJECT format.backupCount - number of synchronous backupsasyncBackupCount - number of asynchronous backupsstatisticsEnabled - set to true to enable statistics on this multimap configurationquorumName - name of an existing configured quorum to be used to determine the minimum number of members
required in the cluster for the lock to remain functional. When null, quorum does not
apply to this lock configuration's operations.void addRingbufferConfig(String name, int capacity, int backupCount, int asyncBackupCount, int timeToLiveSeconds, String inMemoryFormat, @Nullable RingbufferStoreConfigHolder ringbufferStoreConfig, @Since(value="1.6") @Nullable String quorumName)
name already exists, then
the new ringbuffer config is ignored and the existing one is preserved.name - ringbuffer configuration namecapacity - capacity of the ringbufferbackupCount - number of synchronous backupsasyncBackupCount - number of asynchronous backupstimeToLiveSeconds - maximum number of seconds for each entry to stay in the ringbufferinMemoryFormat - in memory format of items in the ringbuffer. Valid options are BINARY
and OBJECTringbufferStoreConfig - backing ringbuffer store configurationquorumName - name of an existing configured quorum to be used to determine the minimum number of members
required in the cluster for the lock to remain functional. When null, quorum does not
apply to this lock configuration's operations.void addCardinalityEstimatorConfig(String name, int backupCount, int asyncBackupCount, @Since(value="1.6") @Nullable String quorumName)
name already exists, then
the new configuration is ignored and the existing one is preserved.name - name of the cardinality estimator configurationbackupCount - number of synchronous backupsasyncBackupCount - number of asynchronous backupsquorumName - name of an existing configured quorum to be used to determine the minimum number of members
required in the cluster for the lock to remain functional. When null, quorum does not
apply to this lock configuration's operations.void addLockConfig(String name, @Nullable String quorumName)
name already exists, then
the new configuration is ignored and the existing one is preserved.name - lock's namequorumName - name of an existing configured quorum to be used to determine the minimum number of members
required in the cluster for the lock to remain functional. When null, quorum does not
apply to this lock configuration's operations.void addListConfig(String name, @Nullable List<ListenerConfigHolder> listenerConfigs, int backupCount, int asyncBackupCount, int maxSize, boolean statisticsEnabled, @Since(value="1.6") @Nullable String quorumName)
name already exists, then
the new configuration is ignored and the existing one is preserved.name - list's namelistenerConfigs - item listener configurationsbackupCount - number of synchronous backupsasyncBackupCount - number of asynchronous backupsmaxSize - maximum size of the liststatisticsEnabled - true to enable gathering of statistics on the list, otherwise falsequorumName - name of an existing configured quorum to be used to determine the minimum number of members
required in the cluster for the lock to remain functional. When null, quorum does not
apply to this lock configuration's operations.void addSetConfig(String name, @Nullable List<ListenerConfigHolder> listenerConfigs, int backupCount, int asyncBackupCount, int maxSize, boolean statisticsEnabled, @Since(value="1.6") @Nullable String quorumName)
name already exists, then
the new configuration is ignored and the existing one is preserved.name - set's namelistenerConfigs - item listener configurationsbackupCount - number of synchronous backupsasyncBackupCount - number of asynchronous backupsmaxSize - maximum size of the setstatisticsEnabled - true to enable gathering of statistics on the list, otherwise falsequorumName - name of an existing configured quorum to be used to determine the minimum number of members
required in the cluster for the lock to remain functional. When null, quorum does not
apply to this lock configuration's operations.void addReplicatedMapConfig(String name, String inMemoryFormat, boolean asyncFillup, boolean statisticsEnabled, String mergePolicy, @Nullable List<ListenerConfigHolder> listenerConfigs, @Since(value="1.6") @Nullable String quorumName)
name already exists, then
the new configuration is ignored and the existing one is preserved.name - name of the replicated map configurationinMemoryFormat - data type used to store entries. Valid values are "BINARY", "OBJECT"
and "NATIVE".asyncFillup - true to make the replicated map available for reads before initial replication
is completed, false otherwise.statisticsEnabled - true to enable gathering of statistics, otherwise falsemergePolicy - class name of a class implementing
com.hazelcast.replicatedmap.merge.ReplicatedMapMergePolicy to merge entries
while recovering from a split brainlistenerConfigs - entry listener configurationsquorumName - name of an existing configured quorum to be used to determine the minimum number of members
required in the cluster for the lock to remain functional. When null, quorum does not
apply to this lock configuration's operations.void addTopicConfig(String name, boolean globalOrderingEnabled, boolean statisticsEnabled, boolean multiThreadingEnabled, @Nullable List<ListenerConfigHolder> listenerConfigs)
name already exists, then
the new configuration is ignored and the existing one is preserved.name - topic's nameglobalOrderingEnabled - when true all nodes listening to the same topic get their messages in
the same orderstatisticsEnabled - true to enable gathering of statistics, otherwise falsemultiThreadingEnabled - true to enable multi-threaded processing of incoming messages, otherwise
a single thread will handle all topic messageslistenerConfigs - message listener configurationsvoid addExecutorConfig(String name, int poolSize, int queueCapacity, boolean statisticsEnabled, @Since(value="1.6") @Nullable String quorumName)
name already exists, then
the new configuration is ignored and the existing one is preserved.name - executor's namepoolSize - executor thread pool sizequeueCapacity - capacity of executor queue. A value of 0 implies Integer.MAX_VALUEstatisticsEnabled - true to enable gathering of statistics, otherwise falsequorumName - name of an existing configured quorum to be used to determine the minimum number of members
required in the cluster for the lock to remain functional. When null, quorum does not
apply to this lock configuration's operations.void addDurableExecutorConfig(String name, int poolSize, int durability, int capacity, @Since(value="1.6") @Nullable String quorumName)
name already exists, then
the new configuration is ignored and the existing one is preserved.name - durable executor namepoolSize - executor thread pool sizedurability - executor's durabilitycapacity - capacity of executor tasks per partitionquorumName - name of an existing configured quorum to be used to determine the minimum number of members
required in the cluster for the lock to remain functional. When null, quorum does not
apply to this lock configuration's operations.void addScheduledExecutorConfig(String name, int poolSize, int durability, int capacity, @Since(value="1.6") @Nullable String quorumName)
name already exists, then
the new configuration is ignored and the existing one is preserved.name - name of scheduled executorpoolSize - number of executor threads per member for the executordurability - durability of the scheduled executorcapacity - maximum number of tasks that a scheduler can have at any given point in time per partitionquorumName - name of an existing configured quorum to be used to determine the minimum number of members
required in the cluster for the lock to remain functional. When null, quorum does not
apply to this lock configuration's operations.void addSemaphoreConfig(String name, int initialPermits, int backupCount, int asyncBackupCount, @Since(value="1.6") @Nullable String quorumName)
name already exists, then
the new configuration is ignored and the existing one is preserved.name - semaphore configuration nameinitialPermits - thread count to which the concurrent access is limitedbackupCount - number of synchronous backupsasyncBackupCount - number of asynchronous backupsquorumName - name of an existing configured quorum to be used to determine the minimum number of members
required in the cluster for the lock to remain functional. When null, quorum does not
apply to this lock configuration's operations.void addQueueConfig(String name, @Nullable List<ListenerConfigHolder> listenerConfigs, int backupCount, int asyncBackupCount, int maxSize, int emptyQueueTtl, boolean statisticsEnabled, @Nullable String quorumName, @Nullable QueueStoreConfigHolder queueStoreConfig)
name already exists, then
the new configuration is ignored and the existing one is preserved.name - queue namelistenerConfigs - item listeners configurationbackupCount - number of synchronous backupsasyncBackupCount - number of asynchronous backupsmaxSize - maximum number of items in the queueemptyQueueTtl - queue time-to-live in seconds: queue will be destroyed if it stays empty or unused for that timestatisticsEnabled - true to enable gathering of statistics, otherwise falsequorumName - name of an existing configured quorum to be used to determine the minimum number of members
required in the cluster for the queue to remain functional. When null, quorum does not
apply to this queue configuration's operations.queueStoreConfig - backing queue store configurationvoid addMapConfig(String name, int backupCount, int asyncBackupCount, int timeToLiveSeconds, int maxIdleSeconds, String evictionPolicy, boolean readBackupData, String cacheDeserializedValues, String mergePolicy, String inMemoryFormat, @Nullable List<ListenerConfigHolder> listenerConfigs, @Nullable List<ListenerConfigHolder> partitionLostListenerConfigs, boolean statisticsEnabled, @Nullable String quorumName, @Nullable Data mapEvictionPolicy, String maxSizeConfigMaxSizePolicy, int maxSizeConfigSize, @Nullable MapStoreConfigHolder mapStoreConfig, @Nullable NearCacheConfigHolder nearCacheConfig, @Nullable WanReplicationRef wanReplicationRef, @Nullable List<MapIndexConfig> mapIndexConfigs, @Nullable List<MapAttributeConfig> mapAttributeConfigs, @Nullable List<QueryCacheConfigHolder> queryCacheConfigs, @Nullable String partitioningStrategyClassName, @Nullable Data partitioningStrategyImplementation, @Nullable HotRestartConfig hotRestartConfig)
name already exists, then
the new configuration is ignored and the existing one is preserved.name - backupCount - number of synchronous backupsasyncBackupCount - number of asynchronous backupstimeToLiveSeconds - maximum number of seconds for each entry to stay in the map.maxIdleSeconds - maximum number of seconds for each entry to stay idle in the mapevictionPolicy - eviction policy. Valid values: NONE (no eviction), LRU
(Least Recently Used), LFU (Least Frequently Used),
RANDOM (evict random entry).readBackupData - true to enable reading local backup entries, false otherwisecacheDeserializedValues - control caching of de-serialized values. Valid values are NEVER
(Never cache de-serialized object), INDEX_ONLY (Cache values only
when they are inserted into an index) and ALWAYS (Always cache
de-serialized valuesmergePolicy - class name of a class implementing
com.hazelcast.map.merge.MapMergePolicy to merge entries
while recovering from a split braininMemoryFormat - data type used to store entries. Valid values are BINARY,
OBJECT and NATIVE.listenerConfigs - entry listener configurationspartitionLostListenerConfigs - partition lost listener configurationsstatisticsEnabled - true to enable gathering of statistics, otherwise falsequorumName - name of an existing configured quorum to be used to determine the minimum
number of members required in the cluster for the map to remain functional.
When null, quorum does not apply to this map's operations.mapEvictionPolicy - custom com.hazelcast.map.eviction.MapEvictionPolicy implementation
or nullmaxSizeConfigMaxSizePolicy - maximum size policy. Valid values are PER_NODE,
PER_PARTITION, USED_HEAP_PERCENTAGE, USED_HEAP_SIZE,
FREE_HEAP_PERCENTAGE, FREE_HEAP_SIZE,
USED_NATIVE_MEMORY_SIZE, USED_NATIVE_MEMORY_PERCENTAGE,
FREE_NATIVE_MEMORY_SIZE, FREE_NATIVE_MEMORY_PERCENTAGE.maxSizeConfigSize - maximum size of mapmapStoreConfig - configuration of backing map store or null for nonenearCacheConfig - configuration of near cache or null for nonewanReplicationRef - reference to an existing WAN replication configurationmapIndexConfigs - map index configurationsmapAttributeConfigs - map attributesqueryCacheConfigs - configurations for query caches on this mappartitioningStrategyClassName - name of class implementing com.hazelcast.core.PartitioningStrategy
or nullpartitioningStrategyImplementation - a serialized instance of a partitioning strategyhotRestartConfig - hot restart configurationvoid addReliableTopicConfig(String name, @Nullable List<ListenerConfigHolder> listenerConfigs, int readBatchSize, boolean statisticsEnabled, String topicOverloadPolicy, @Nullable Data executor)
name already exists, then
the new configuration is ignored and the existing one is preserved.name - name of reliable topiclistenerConfigs - message listener configurationsreadBatchSize - maximum number of items to read in a batch.statisticsEnabled - true to enable gathering of statistics, otherwise falsetopicOverloadPolicy - policy to handle an overloaded topic. Available values are DISCARD_OLDEST,
DISCARD_NEWEST, BLOCK and ERROR.executor - a serialized Executor instance to use for executing
message listeners or nullvoid addCacheConfig(String name, @Nullable String keyType, @Nullable String valueType, boolean statisticsEnabled, boolean managementEnabled, boolean readThrough, boolean writeThrough, @Nullable String cacheLoaderFactory, @Nullable String cacheWriterFactory, @Nullable String cacheLoader, @Nullable String cacheWriter, int backupCount, int asyncBackupCount, String inMemoryFormat, @Nullable String quorumName, @Nullable String mergePolicy, boolean disablePerEntryInvalidationEvents, @Nullable List<ListenerConfigHolder> partitionLostListenerConfigs, @Nullable String expiryPolicyFactoryClassName, @Nullable CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig timedExpiryPolicyFactoryConfig, @Nullable List<CacheSimpleEntryListenerConfig> cacheEntryListeners, @Nullable EvictionConfigHolder evictionConfig, @Nullable WanReplicationRef wanReplicationRef, @Nullable HotRestartConfig hotRestartConfig)
name already exists, then
the new configuration is ignored and the existing one is preserved.name - cache namekeyType - class name of key typevalueType - class name of value typestatisticsEnabled - true to enable gathering of statistics, otherwise falsemanagementEnabled - true to enable management interface on this cache or falsereadThrough - true to enable read through from a CacheLoaderwriteThrough - true to enable write through to a CacheWritercacheLoaderFactory - name of cache loader factory class, if one is configuredcacheWriterFactory - name of cache writer factory class, if one is configuredcacheLoader - name of cache loader implementation classcacheWriter - name of cache writer implementation classbackupCount - number of synchronous backupsasyncBackupCount - number of asynchronous backupsinMemoryFormat - data type used to store entries. Valid values are BINARY,
OBJECT and NATIVE.quorumName - name of an existing configured quorum to be used to determine the minimum
number of members required in the cluster for the cache to remain functional.
When null, quorum does not apply to this cache's operations.mergePolicy - name of a class implementing CacheMergePolicy
that handles merging of values for this cache while recovering from
network partitioningdisablePerEntryInvalidationEvents - when true disables invalidation events for per entry but
full-flush invalidation events are still enabled.partitionLostListenerConfigs - partition lost listener configurationsexpiryPolicyFactoryClassName - expiry policy factory class name. When configuring an expiry policy,
either this or should be configured.timedExpiryPolicyFactoryConfig - expiry policy factory with duration configurationcacheEntryListeners - cache entry listeners configurationevictionConfig - cache eviction configurationwanReplicationRef - reference to an existing WAN replication configurationhotRestartConfig - hot restart configurationvoid addEventJournalConfig(@Nullable String mapName, @Nullable String cacheName, boolean enabled, int capacity, int timeToLiveSeconds)
mapName - name of IMap to use as event sourcecacheName - name of ICache to use as event sourceenabled - true to enable this event journal configuration, otherwise falsecapacity - capacity of event journaltimeToLiveSeconds - time to live (in seconds). This is the time the event journal retains items before removing them
from the journal.@Since(value="1.6") void addReliableIdGeneratorConfig(String name, int prefetchCount, long prefetchValidity)
name - name of ReliableIdGeneratorprefetchCount - how many IDs are pre-fetched on the background when one call to newId() is madeprefetchValidity - for how long the pre-fetched IDs can be used@Since(value="1.6") void addAtomicLongConfig(String name, @Nullable String quorumName)
name already exists, then
the new configuration is ignored and the existing one is preserved.name - atomic long's namequorumName - name of an existing configured quorum to be used to determine the minimum number of members
required in the cluster for the lock to remain functional. When null, quorum does not
apply to this lock configuration's operations.@Since(value="1.6") void addAtomicReferenceConfig(String name, @Nullable String quorumName)
name already exists, then
the new configuration is ignored and the existing one is preserved.name - atomic references's namequorumName - name of an existing configured quorum to be used to determine the minimum number of members
required in the cluster for the lock to remain functional. When null, quorum does not
apply to this lock configuration's operations.@Since(value="1.6") void addCountDownLatchConfig(String name, @Nullable String quorumName)
name already exists, then
the new configuration is ignored and the existing one is preserved.name - count down latch's namequorumName - name of an existing configured quorum to be used to determine the minimum number of members
required in the cluster for the lock to remain functional. When null, quorum does not
apply to this lock configuration's operations.Copyright © 2018. All Rights Reserved.