com.hazelcast.config
Class QueueConfig
java.lang.Object
com.hazelcast.config.QueueConfig
- Direct Known Subclasses:
- QueueConfigReadOnly
public class QueueConfig
- extends Object
DEFAULT_MAX_SIZE
public static final int DEFAULT_MAX_SIZE
- See Also:
- Constant Field Values
DEFAULT_SYNC_BACKUP_COUNT
public static final int DEFAULT_SYNC_BACKUP_COUNT
- See Also:
- Constant Field Values
DEFAULT_ASYNC_BACKUP_COUNT
public static final int DEFAULT_ASYNC_BACKUP_COUNT
- See Also:
- Constant Field Values
DEFAULT_EMPTY_QUEUE_TTL
public static final int DEFAULT_EMPTY_QUEUE_TTL
- See Also:
- Constant Field Values
QueueConfig
public QueueConfig()
QueueConfig
public QueueConfig(QueueConfig config)
getAsReadOnly
public QueueConfigReadOnly getAsReadOnly()
getEmptyQueueTtl
public int getEmptyQueueTtl()
setEmptyQueueTtl
public QueueConfig setEmptyQueueTtl(int emptyQueueTtl)
getMaxSize
public int getMaxSize()
setMaxSize
public QueueConfig setMaxSize(int maxSize)
getTotalBackupCount
public int getTotalBackupCount()
getBackupCount
public int getBackupCount()
setBackupCount
public QueueConfig setBackupCount(int backupCount)
getAsyncBackupCount
public int getAsyncBackupCount()
setAsyncBackupCount
public QueueConfig setAsyncBackupCount(int asyncBackupCount)
getQueueStoreConfig
public QueueStoreConfig getQueueStoreConfig()
setQueueStoreConfig
public QueueConfig setQueueStoreConfig(QueueStoreConfig queueStoreConfig)
isStatisticsEnabled
public boolean isStatisticsEnabled()
setStatisticsEnabled
public QueueConfig setStatisticsEnabled(boolean statisticsEnabled)
getName
public String getName()
- Returns:
- the name
setName
public QueueConfig setName(String name)
- Parameters:
name
- the name to set
- Returns:
- this queue config
addItemListenerConfig
public QueueConfig addItemListenerConfig(ItemListenerConfig listenerConfig)
getItemListenerConfigs
public List<ItemListenerConfig> getItemListenerConfigs()
setItemListenerConfigs
public QueueConfig setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.