Uses of Class
com.hazelcast.config.QueueConfig
Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
-
Uses of QueueConfig in com.hazelcast.config
Methods in com.hazelcast.config that return QueueConfig Modifier and Type Method Description QueueConfig
QueueConfig. addItemListenerConfig(ItemListenerConfig listenerConfig)
Add an item listener configuration to this queue.QueueConfig
Config. findQueueConfig(String name)
Returns a read-onlyIQueue
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 theMergePolicyConfig
for this queue.QueueConfig
QueueConfig. setName(String name)
Set the name for this queue.QueueConfig
QueueConfig. setPriorityComparatorClassName(String priorityComparatorClassName)
Sets the class name that will be used to compare queue items.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.Methods in com.hazelcast.config that return types with arguments of type QueueConfig Modifier and Type Method Description Map<String,QueueConfig>
Config. getQueueConfigs()
Returns the map ofIQueue
configurations, mapped by config name.Methods in com.hazelcast.config with parameters of type QueueConfig Modifier and Type Method Description Config
Config. addQueueConfig(QueueConfig queueConfig)
Adds the queue configuration.Method parameters in com.hazelcast.config with type arguments of type QueueConfig Modifier and Type Method Description Config
Config. setQueueConfigs(Map<String,QueueConfig> queueConfigs)
Sets the map ofIQueue
configurations, mapped by config name.Constructors in com.hazelcast.config with parameters of type QueueConfig Constructor Description QueueConfig(QueueConfig config)