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, writeDatapublic List<ItemListenerConfig> getItemListenerConfigs()
QueueConfiggetItemListenerConfigs in class QueueConfigpublic QueueStoreConfig getQueueStoreConfig()
QueueConfiggetQueueStoreConfig in class QueueConfigpublic QueueConfig setName(String name)
QueueConfigsetName in class QueueConfigname - the name to set for this queuepublic QueueConfig setEmptyQueueTtl(int emptyQueueTtl)
QueueConfigsetEmptyQueueTtl in class QueueConfigemptyQueueTtl - set the TTL (time to live) for emptying the Queue to this valuepublic QueueConfig setMaxSize(int maxSize)
QueueConfigsetMaxSize in class QueueConfigmaxSize - set the maximum size of the Queue to this valuepublic QueueConfig setBackupCount(int backupCount)
QueueConfigsetBackupCount in class QueueConfigbackupCount - the number of synchronous backups to setQueueConfig.setAsyncBackupCount(int)public QueueConfig setAsyncBackupCount(int asyncBackupCount)
QueueConfigsetAsyncBackupCount in class QueueConfigasyncBackupCount - the number of asynchronous synchronous backups to setQueueConfig.setBackupCount(int), 
QueueConfig.getAsyncBackupCount()public QueueConfig setQueueStoreConfig(QueueStoreConfig queueStoreConfig)
QueueConfigsetQueueStoreConfig in class QueueConfigqueueStoreConfig - set the QueueStore configuration to this configurationpublic QueueConfig setStatisticsEnabled(boolean statisticsEnabled)
QueueConfigsetStatisticsEnabled in class QueueConfigstatisticsEnabled - true to enable statistics for this queue, false to disablepublic QueueConfig addItemListenerConfig(ItemListenerConfig listenerConfig)
QueueConfigaddItemListenerConfig in class QueueConfiglistenerConfig - the item listener configuration to add to this queuepublic QueueConfig setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)
QueueConfigsetItemListenerConfigs in class QueueConfiglistenerConfigs - the list of item listener configurations to set for this queuepublic QueueConfig setQuorumName(String quorumName)
QueueConfigsetQuorumName in class QueueConfigquorumName - the quorum namepublic QueueConfig setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
QueueConfigMergePolicyConfig for this queue.setMergePolicyConfig in class QueueConfigCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.