Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Method and Description |
---|---|
QueueConfig |
QueueConfig.addItemListenerConfig(ItemListenerConfig listenerConfig)
Add an item listener configuration to this queue.
|
QueueConfig |
Config.findQueueConfig(String name)
Returns a read-only
IQueue configuration for
the given name. |
QueueConfig |
Config.getQueueConfig(String name)
Returns the QueueConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
QueueConfig |
QueueConfig.setAsyncBackupCount(int asyncBackupCount)
Sets the number of asynchronous backups.
|
QueueConfig |
QueueConfig.setBackupCount(int backupCount)
Sets the number of synchronous backups for this queue.
|
QueueConfig |
QueueConfig.setEmptyQueueTtl(int emptyQueueTtl)
Sets the TTL (time to live) for emptying the Queue.
|
QueueConfig |
QueueConfig.setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)
Set the list of item listener configurations for this queue.
|
QueueConfig |
QueueConfig.setMaxSize(int maxSize)
Sets the maximum size of the Queue.
|
QueueConfig |
QueueConfig.setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
Sets the
MergePolicyConfig for this queue. |
QueueConfig |
QueueConfig.setName(String name)
Set the name for this queue.
|
QueueConfig |
QueueConfig.setQueueStoreConfig(QueueStoreConfig queueStoreConfig)
Set the QueueStore (load and store queue items from/to a database) configuration.
|
QueueConfig |
QueueConfig.setSplitBrainProtectionName(String splitBrainProtectionName)
Sets the split brain protection name for queue operations.
|
QueueConfig |
QueueConfig.setStatisticsEnabled(boolean statisticsEnabled)
Enables or disables statistics for this queue.
|
Modifier and Type | Method and Description |
---|---|
Map<String,QueueConfig> |
Config.getQueueConfigs()
Returns the map of
IQueue configurations,
mapped by config name. |
Modifier and Type | Method and Description |
---|---|
Config |
Config.addQueueConfig(QueueConfig queueConfig)
Adds the queue configuration.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.setQueueConfigs(Map<String,QueueConfig> queueConfigs)
Sets the map of
IQueue configurations,
mapped by config name. |
Constructor and Description |
---|
QueueConfig(QueueConfig config) |
Copyright © 2022 Hazelcast, Inc.. All rights reserved.