com.hazelcast.config
Class TopicConfig

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

public final class TopicConfig
extends Object
implements DataSerializable

See Also:
Serialized Form

Field Summary
static boolean DEFAULT_GLOBAL_ORDERING_ENABLED
           
 
Constructor Summary
TopicConfig()
           
TopicConfig(TopicConfig config)
           
 
Method Summary
 TopicConfig addMessageListenerConfig(ListenerConfig listenerConfig)
           
 boolean equals(Object obj)
           
 List<ListenerConfig> getMessageListenerConfigs()
           
 String getName()
           
 int hashCode()
           
 boolean isGlobalOrderingEnabled()
           
 void readData(DataInput in)
           
 TopicConfig setGlobalOrderingEnabled(boolean globalOrderingEnabled)
           
 void setMessageListenerConfigs(List<ListenerConfig> listenerConfigs)
           
 TopicConfig setName(String name)
           
 String toString()
           
 void writeData(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_GLOBAL_ORDERING_ENABLED

public static final boolean DEFAULT_GLOBAL_ORDERING_ENABLED
See Also:
Constant Field Values
Constructor Detail

TopicConfig

public TopicConfig()

TopicConfig

public TopicConfig(TopicConfig config)
Method Detail

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.