com.hazelcast.config
Class QueueConfig
java.lang.Object
com.hazelcast.config.QueueConfig
- All Implemented Interfaces:
- DataSerializable, Serializable
public final class QueueConfig
- extends Object
- implements DataSerializable
- See Also:
- Serialized Form
DEFAULT_MAX_SIZE_PER_JVM
public static final int DEFAULT_MAX_SIZE_PER_JVM
- See Also:
- Constant Field Values
QueueConfig
public QueueConfig()
QueueConfig
public QueueConfig(QueueConfig config)
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.