com.hazelcast.config
Class QueueConfig

java.lang.Object
  extended by com.hazelcast.config.QueueConfig
All Implemented Interfaces:
DataSerializable, Serializable

public final class QueueConfig
extends Object
implements DataSerializable

See Also:
Serialized Form

Field Summary
static int DEFAULT_MAX_SIZE_PER_JVM
           
 
Constructor Summary
QueueConfig()
           
QueueConfig(QueueConfig config)
           
 
Method Summary
 QueueConfig addItemListenerConfig(ItemListenerConfig listenerConfig)
           
 String getBackingMapRef()
           
 List<ItemListenerConfig> getItemListenerConfigs()
           
 int getMaxSizePerJVM()
           
 String getName()
           
 boolean isCompatible(QueueConfig queueConfig)
           
 void readData(DataInput in)
           
 QueueConfig setBackingMapRef(String backingMapRef)
           
 void setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)
           
 QueueConfig setMaxSizePerJVM(int maxSizePerJVM)
           
 QueueConfig setName(String name)
           
 String toString()
           
 void writeData(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_MAX_SIZE_PER_JVM

public static final int DEFAULT_MAX_SIZE_PER_JVM
See Also:
Constant Field Values
Constructor Detail

QueueConfig

public QueueConfig()

QueueConfig

public QueueConfig(QueueConfig config)
Method Detail

getName

public String getName()
Returns:
the name

setName

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

getMaxSizePerJVM

public int getMaxSizePerJVM()
Returns:
the maxSizePerJVM

setMaxSizePerJVM

public QueueConfig setMaxSizePerJVM(int maxSizePerJVM)
Parameters:
maxSizePerJVM - the maxSizePerJVM to set

getBackingMapRef

public String getBackingMapRef()

setBackingMapRef

public QueueConfig setBackingMapRef(String backingMapRef)

addItemListenerConfig

public QueueConfig addItemListenerConfig(ItemListenerConfig listenerConfig)

getItemListenerConfigs

public List<ItemListenerConfig> getItemListenerConfigs()

setItemListenerConfigs

public void setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)

isCompatible

public boolean isCompatible(QueueConfig queueConfig)

writeData

public void writeData(DataOutput out)
               throws IOException
Specified by:
writeData in interface DataSerializable
Throws:
IOException

readData

public void readData(DataInput in)
              throws IOException
Specified by:
readData in interface DataSerializable
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright 2008-2012 Hazel Ltd. All Rights Reserved.