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)Add an item listener configuration to this queue. | 
| List<ItemListenerConfig> | getItemListenerConfigs()Get the list of item listener configurations for this queue. | 
| QueueStoreConfig | getQueueStoreConfig()Get the QueueStore (load and store queue items from/to a database) configuration. | 
| QueueConfig | setAsyncBackupCount(int asyncBackupCount)Sets the number of asynchronous backups. | 
| QueueConfig | setBackupCount(int backupCount)Sets the number of synchronous backups for this queue. | 
| QueueConfig | setEmptyQueueTtl(int emptyQueueTtl)Sets the TTL (time to live) for emptying the Queue. | 
| QueueConfig | setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)Set the list of item listener configurations for this queue. | 
| QueueConfig | setMaxSize(int maxSize)Sets the maximum size of the Queue. | 
| QueueConfig | setName(String name)Set the name for this queue. | 
| QueueConfig | setQueueStoreConfig(QueueStoreConfig queueStoreConfig)Set the QueueStore (load and store queue items from/to a database) configuration. | 
| QueueConfig | setStatisticsEnabled(boolean statisticsEnabled)Enables or disables statistics for this queue. | 
getAsReadOnly, getAsyncBackupCount, getBackupCount, getEmptyQueueTtl, getMaxSize, getName, getTotalBackupCount, isStatisticsEnabled, toStringpublic 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 queue.public QueueConfig setEmptyQueueTtl(int emptyQueueTtl)
QueueConfigsetEmptyQueueTtl in class QueueConfigemptyQueueTtl - Set the TTL (time to live) for emptying the Queue to this value.public QueueConfig setMaxSize(int maxSize)
QueueConfigsetMaxSize in class QueueConfigmaxSize - Set the maximum size of the Queue to this value.public 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 configuration.public QueueConfig setStatisticsEnabled(boolean statisticsEnabled)
QueueConfigsetStatisticsEnabled in class QueueConfigstatisticsEnabled - True to enable statistics for this queue, false to disable.public QueueConfig addItemListenerConfig(ItemListenerConfig listenerConfig)
QueueConfigaddItemListenerConfig in class QueueConfiglistenerConfig - The item listener configuration to add to this queue.public QueueConfig setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)
QueueConfigsetItemListenerConfigs in class QueueConfiglistenerConfigs - The list of item listener configurations to set for this queue.Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.