|
||||||||||
| 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 QueueConfigpublic QueueStoreConfig getQueueStoreConfig()
QueueConfig
getQueueStoreConfig in class QueueConfigpublic QueueConfig setName(String name)
QueueConfig
setName in class QueueConfigname - The name to set for this queue configuration.
public QueueConfig setEmptyQueueTtl(int emptyQueueTtl)
QueueConfig
setEmptyQueueTtl in class QueueConfigemptyQueueTtl - Set the TTL (time to live) for emptying the Queue to this value.
public QueueConfig setMaxSize(int maxSize)
QueueConfig
setMaxSize in class QueueConfigmaxSize - Set the maximum size of the Queue to this value.
public QueueConfig setBackupCount(int backupCount)
QueueConfig
setBackupCount in class QueueConfigbackupCount - the number of synchronous backups to set
QueueConfig.setAsyncBackupCount(int)public QueueConfig setAsyncBackupCount(int asyncBackupCount)
QueueConfig
setAsyncBackupCount in class QueueConfigasyncBackupCount - the number of asynchronous synchronous backups to set
QueueConfig.setBackupCount(int),
QueueConfig.getAsyncBackupCount()public QueueConfig setQueueStoreConfig(QueueStoreConfig queueStoreConfig)
QueueConfig
setQueueStoreConfig in class QueueConfigqueueStoreConfig - Set the QueueStore configuration to this configuration.
public QueueConfig setStatisticsEnabled(boolean statisticsEnabled)
QueueConfig
setStatisticsEnabled in class QueueConfigstatisticsEnabled - Set to true or false to enable or disable statistics.
public QueueConfig addItemListenerConfig(ItemListenerConfig listenerConfig)
QueueConfig
addItemListenerConfig in class QueueConfiglistenerConfig - The item listener configuration to add to this queue configuration.
public QueueConfig setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)
QueueConfig
setItemListenerConfigs in class QueueConfiglistenerConfigs - 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 | |||||||||