|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.config.QueueConfig
public class QueueConfig
Contains the configuration for an IQueue
Field Summary | |
---|---|
static int |
DEFAULT_ASYNC_BACKUP_COUNT
Default value of asynchronous backup count |
static int |
DEFAULT_EMPTY_QUEUE_TTL
Default value of time to live for empty Queue |
static int |
DEFAULT_MAX_SIZE
Default value of maximum size of Queue |
static int |
DEFAULT_SYNC_BACKUP_COUNT
Default value of sycronous 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 |
---|
public static final int DEFAULT_MAX_SIZE
public static final int DEFAULT_SYNC_BACKUP_COUNT
public static final int DEFAULT_ASYNC_BACKUP_COUNT
public static final int DEFAULT_EMPTY_QUEUE_TTL
Constructor Detail |
---|
public QueueConfig()
public QueueConfig(QueueConfig config)
Method Detail |
---|
public QueueConfigReadOnly getAsReadOnly()
public int getEmptyQueueTtl()
public QueueConfig setEmptyQueueTtl(int emptyQueueTtl)
public int getMaxSize()
public QueueConfig setMaxSize(int maxSize)
public int getTotalBackupCount()
public int getBackupCount()
public QueueConfig setBackupCount(int backupCount)
public int getAsyncBackupCount()
public QueueConfig setAsyncBackupCount(int asyncBackupCount)
public QueueStoreConfig getQueueStoreConfig()
public QueueConfig setQueueStoreConfig(QueueStoreConfig queueStoreConfig)
public boolean isStatisticsEnabled()
public QueueConfig setStatisticsEnabled(boolean statisticsEnabled)
public String getName()
public QueueConfig setName(String name)
name
- the name to set
public QueueConfig addItemListenerConfig(ItemListenerConfig listenerConfig)
public List<ItemListenerConfig> getItemListenerConfigs()
public QueueConfig setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |