com.hazelcast.config
Class QueueConfigReadOnly

java.lang.Object
  extended by com.hazelcast.config.QueueConfig
      extended by com.hazelcast.config.QueueConfigReadOnly

public class QueueConfigReadOnly
extends QueueConfig

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)
           
 List<ItemListenerConfig> getItemListenerConfigs()
           
 QueueStoreConfig getQueueStoreConfig()
           
 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)
           
 
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

getItemListenerConfigs

public List<ItemListenerConfig> getItemListenerConfigs()
Overrides:
getItemListenerConfigs in class QueueConfig

getQueueStoreConfig

public QueueStoreConfig getQueueStoreConfig()
Overrides:
getQueueStoreConfig in class QueueConfig

setName

public QueueConfig setName(String name)
Overrides:
setName in class QueueConfig
Parameters:
name - the name to set
Returns:
this queue config

setEmptyQueueTtl

public QueueConfig setEmptyQueueTtl(int emptyQueueTtl)
Overrides:
setEmptyQueueTtl in class QueueConfig

setMaxSize

public QueueConfig setMaxSize(int maxSize)
Overrides:
setMaxSize in class QueueConfig

setBackupCount

public QueueConfig setBackupCount(int backupCount)
Overrides:
setBackupCount in class QueueConfig

setAsyncBackupCount

public QueueConfig setAsyncBackupCount(int asyncBackupCount)
Overrides:
setAsyncBackupCount in class QueueConfig

setQueueStoreConfig

public QueueConfig setQueueStoreConfig(QueueStoreConfig queueStoreConfig)
Overrides:
setQueueStoreConfig in class QueueConfig

setStatisticsEnabled

public QueueConfig setStatisticsEnabled(boolean statisticsEnabled)
Overrides:
setStatisticsEnabled in class QueueConfig

addItemListenerConfig

public QueueConfig addItemListenerConfig(ItemListenerConfig listenerConfig)
Overrides:
addItemListenerConfig in class QueueConfig

setItemListenerConfigs

public QueueConfig setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)
Overrides:
setItemListenerConfigs in class QueueConfig


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.