public class QueueConfigReadOnly extends QueueConfig
IQueue
.DEFAULT_ASYNC_BACKUP_COUNT, DEFAULT_EMPTY_QUEUE_TTL, DEFAULT_MAX_SIZE, DEFAULT_SYNC_BACKUP_COUNT
Modifier and Type | Method and Description |
---|---|
QueueConfig |
addItemListenerConfig(ItemListenerConfig listenerConfig)
Deprecated.
Add an item listener configuration to this queue.
|
List<ItemListenerConfig> |
getItemListenerConfigs()
Deprecated.
Get the list of item listener configurations for this queue.
|
QueueStoreConfig |
getQueueStoreConfig()
Deprecated.
Get the QueueStore (load and store queue items from/to a database) configuration.
|
QueueConfig |
setAsyncBackupCount(int asyncBackupCount)
Deprecated.
Sets the number of asynchronous backups.
|
QueueConfig |
setBackupCount(int backupCount)
Deprecated.
Sets the number of synchronous backups for this queue.
|
QueueConfig |
setEmptyQueueTtl(int emptyQueueTtl)
Deprecated.
Sets the TTL (time to live) for emptying the Queue.
|
QueueConfig |
setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)
Deprecated.
Set the list of item listener configurations for this queue.
|
QueueConfig |
setMaxSize(int maxSize)
Deprecated.
Sets the maximum size of the Queue.
|
QueueConfig |
setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
Deprecated.
Sets the
MergePolicyConfig for this queue. |
QueueConfig |
setName(String name)
Deprecated.
Set the name for this queue.
|
QueueConfig |
setQueueStoreConfig(QueueStoreConfig queueStoreConfig)
Deprecated.
Set the QueueStore (load and store queue items from/to a database) configuration.
|
QueueConfig |
setQuorumName(String quorumName)
Deprecated.
Sets the quorum name for queue operations.
|
QueueConfig |
setStatisticsEnabled(boolean statisticsEnabled)
Deprecated.
Enables or disables statistics for this queue.
|
equals, getAsReadOnly, getAsyncBackupCount, getBackupCount, getEmptyQueueTtl, getFactoryId, getId, getMaxSize, getMergePolicyConfig, getName, getProvidedMergeTypes, getQuorumName, getTotalBackupCount, hashCode, isStatisticsEnabled, readData, toString, writeData
public List<ItemListenerConfig> getItemListenerConfigs()
QueueConfig
getItemListenerConfigs
in class QueueConfig
public QueueStoreConfig getQueueStoreConfig()
QueueConfig
getQueueStoreConfig
in class QueueConfig
public QueueConfig setName(String name)
QueueConfig
setName
in class QueueConfig
name
- the name to set for this queuepublic QueueConfig setEmptyQueueTtl(int emptyQueueTtl)
QueueConfig
setEmptyQueueTtl
in class QueueConfig
emptyQueueTtl
- set the TTL (time to live) for emptying the Queue to this valuepublic QueueConfig setMaxSize(int maxSize)
QueueConfig
setMaxSize
in class QueueConfig
maxSize
- set the maximum size of the Queue to this valuepublic QueueConfig setBackupCount(int backupCount)
QueueConfig
setBackupCount
in class QueueConfig
backupCount
- the number of synchronous backups to setQueueConfig.setAsyncBackupCount(int)
public QueueConfig setAsyncBackupCount(int asyncBackupCount)
QueueConfig
setAsyncBackupCount
in class QueueConfig
asyncBackupCount
- the number of asynchronous synchronous backups to setQueueConfig.setBackupCount(int)
,
QueueConfig.getAsyncBackupCount()
public QueueConfig setQueueStoreConfig(QueueStoreConfig queueStoreConfig)
QueueConfig
setQueueStoreConfig
in class QueueConfig
queueStoreConfig
- set the QueueStore configuration to this configurationpublic QueueConfig setStatisticsEnabled(boolean statisticsEnabled)
QueueConfig
setStatisticsEnabled
in class QueueConfig
statisticsEnabled
- true
to enable statistics for this queue, false
to disablepublic QueueConfig addItemListenerConfig(ItemListenerConfig listenerConfig)
QueueConfig
addItemListenerConfig
in class QueueConfig
listenerConfig
- the item listener configuration to add to this queuepublic QueueConfig setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)
QueueConfig
setItemListenerConfigs
in class QueueConfig
listenerConfigs
- the list of item listener configurations to set for this queuepublic QueueConfig setQuorumName(String quorumName)
QueueConfig
setQuorumName
in class QueueConfig
quorumName
- the quorum namepublic QueueConfig setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
QueueConfig
MergePolicyConfig
for this queue.setMergePolicyConfig
in class QueueConfig
Copyright © 2018 Hazelcast, Inc.. All rights reserved.