|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hazelcast.config.QueueConfig
com.hazelcast.config.QueueConfigReadOnly
public class QueueConfigReadOnly
Contains the configuration for an IQueue
.
Field Summary |
---|
Fields inherited from class com.hazelcast.config.QueueConfig |
---|
DEFAULT_ASYNC_BACKUP_COUNT, DEFAULT_EMPTY_QUEUE_TTL, DEFAULT_MAX_SIZE, DEFAULT_SYNC_BACKUP_COUNT |
Method Summary | |
---|---|
QueueConfig |
addItemListenerConfig(ItemListenerConfig listenerConfig)
Add an item listener configuration to this queue configuration. |
List<ItemListenerConfig> |
getItemListenerConfigs()
Get the list of item listener configurations for this queue configuration. |
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. |
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 configuration to this list. |
QueueConfig |
setMaxSize(int maxSize)
Sets the maximum size of the Queue. |
QueueConfig |
setName(String name)
Set the name for this queue configuration. |
QueueConfig |
setQueueStoreConfig(QueueStoreConfig queueStoreConfig)
Set the QueueStore (load and store queue items from/to a database) configuration. |
QueueConfig |
setStatisticsEnabled(boolean statisticsEnabled)
Set the statistics enabled value for this queue configuration. |
Methods inherited from class com.hazelcast.config.QueueConfig |
---|
getAsReadOnly, getAsyncBackupCount, getBackupCount, getEmptyQueueTtl, getMaxSize, getName, getTotalBackupCount, isStatisticsEnabled, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public List<ItemListenerConfig> getItemListenerConfigs()
QueueConfig
getItemListenerConfigs
in class QueueConfig
public QueueStoreConfig getQueueStoreConfig()
QueueConfig
getQueueStoreConfig
in class QueueConfig
public QueueConfig setName(String name)
QueueConfig
setName
in class QueueConfig
name
- The name to set for this queue configuration.
public QueueConfig setEmptyQueueTtl(int emptyQueueTtl)
QueueConfig
setEmptyQueueTtl
in class QueueConfig
emptyQueueTtl
- Set the TTL (time to live) for emptying the Queue to this value.
public QueueConfig setMaxSize(int maxSize)
QueueConfig
setMaxSize
in class QueueConfig
maxSize
- Set the maximum size of the Queue to this value.
public QueueConfig setBackupCount(int backupCount)
QueueConfig
setBackupCount
in class QueueConfig
backupCount
- the number of synchronous backups to set
QueueConfig.setAsyncBackupCount(int)
public QueueConfig setAsyncBackupCount(int asyncBackupCount)
QueueConfig
setAsyncBackupCount
in class QueueConfig
asyncBackupCount
- the number of asynchronous synchronous backups to set
QueueConfig.setBackupCount(int)
,
QueueConfig.getAsyncBackupCount()
public QueueConfig setQueueStoreConfig(QueueStoreConfig queueStoreConfig)
QueueConfig
setQueueStoreConfig
in class QueueConfig
queueStoreConfig
- Set the QueueStore configuration to this configuration.
public QueueConfig setStatisticsEnabled(boolean statisticsEnabled)
QueueConfig
setStatisticsEnabled
in class QueueConfig
statisticsEnabled
- Set to true or false to enable or disable statistics.
public QueueConfig addItemListenerConfig(ItemListenerConfig listenerConfig)
QueueConfig
addItemListenerConfig
in class QueueConfig
listenerConfig
- The item listener configuration to add to this queue configuration.
public QueueConfig setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)
QueueConfig
setItemListenerConfigs
in class QueueConfig
listenerConfigs
- The list of item listener configurations to set for this queue configuration.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |