com.hazelcast.config
Class QueueConfig

java.lang.Object
  extended by com.hazelcast.config.QueueConfig
Direct Known Subclasses:
QueueConfigReadOnly

public class QueueConfig
extends Object


Field Summary
static int DEFAULT_ASYNC_BACKUP_COUNT
           
static int DEFAULT_EMPTY_QUEUE_TTL
           
static int DEFAULT_MAX_SIZE
           
static int DEFAULT_SYNC_BACKUP_COUNT
           
 
Constructor Summary
QueueConfig()
           
QueueConfig(QueueConfig config)
           
 
Method Summary
 QueueConfig addItemListenerConfig(ItemListenerConfig listenerConfig)
           
 QueueConfigReadOnly getAsReadOnly()
           
 int getAsyncBackupCount()
           
 int getBackupCount()
           
 int getEmptyQueueTtl()
           
 List<ItemListenerConfig> getItemListenerConfigs()
           
 int getMaxSize()
           
 String getName()
           
 QueueStoreConfig getQueueStoreConfig()
           
 int getTotalBackupCount()
           
 boolean isStatisticsEnabled()
           
 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)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

QueueConfig

public QueueConfig()

QueueConfig

public QueueConfig(QueueConfig config)
Method Detail

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.