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) |
List<ItemListenerConfig> |
getItemListenerConfigs() |
QueueStoreConfig |
getQueueStoreConfig() |
QueueConfig |
setAsyncBackupCount(int asyncBackupCount) |
QueueConfig |
setBackupCount(int backupCount) |
QueueConfig |
setEmptyQueueTtl(int emptyQueueTtl) |
QueueConfig |
setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs) |
QueueConfig |
setMaxSize(int maxSize) |
QueueConfig |
setName(String name) |
QueueConfig |
setQueueStoreConfig(QueueStoreConfig queueStoreConfig) |
QueueConfig |
setStatisticsEnabled(boolean statisticsEnabled) |
getAsReadOnly, getAsyncBackupCount, getBackupCount, getEmptyQueueTtl, getMaxSize, getName, getTotalBackupCount, isStatisticsEnabled, toString
public List<ItemListenerConfig> getItemListenerConfigs()
getItemListenerConfigs
in class QueueConfig
public QueueStoreConfig getQueueStoreConfig()
getQueueStoreConfig
in class QueueConfig
public QueueConfig setName(String name)
setName
in class QueueConfig
name
- the name to setpublic QueueConfig setEmptyQueueTtl(int emptyQueueTtl)
setEmptyQueueTtl
in class QueueConfig
public QueueConfig setMaxSize(int maxSize)
setMaxSize
in class QueueConfig
public QueueConfig setBackupCount(int backupCount)
setBackupCount
in class QueueConfig
public QueueConfig setAsyncBackupCount(int asyncBackupCount)
setAsyncBackupCount
in class QueueConfig
public QueueConfig setQueueStoreConfig(QueueStoreConfig queueStoreConfig)
setQueueStoreConfig
in class QueueConfig
public QueueConfig setStatisticsEnabled(boolean statisticsEnabled)
setStatisticsEnabled
in class QueueConfig
public QueueConfig addItemListenerConfig(ItemListenerConfig listenerConfig)
addItemListenerConfig
in class QueueConfig
public QueueConfig setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)
setItemListenerConfigs
in class QueueConfig
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.