com.hazelcast.config
Class TopicConfig
java.lang.Object
com.hazelcast.config.TopicConfig
- All Implemented Interfaces:
- DataSerializable, Serializable
public final class TopicConfig
- extends Object
- implements DataSerializable
- See Also:
- Serialized Form
DEFAULT_GLOBAL_ORDERING_ENABLED
public static final boolean DEFAULT_GLOBAL_ORDERING_ENABLED
- See Also:
- Constant Field Values
TopicConfig
public TopicConfig()
TopicConfig
public TopicConfig(TopicConfig config)
getName
public String getName()
- Returns:
- the name
setName
public TopicConfig setName(String name)
- Parameters:
name
- the name to set
isGlobalOrderingEnabled
public boolean isGlobalOrderingEnabled()
- Returns:
- the globalOrderingEnabled
setGlobalOrderingEnabled
public TopicConfig setGlobalOrderingEnabled(boolean globalOrderingEnabled)
- Parameters:
globalOrderingEnabled
- the globalOrderingEnabled to set
addMessageListenerConfig
public TopicConfig addMessageListenerConfig(ListenerConfig listenerConfig)
getMessageListenerConfigs
public List<ListenerConfig> getMessageListenerConfigs()
setMessageListenerConfigs
public void setMessageListenerConfigs(List<ListenerConfig> listenerConfigs)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
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
Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.