|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.config.TopicConfig
public class TopicConfig
Contains the configuration for a ITopic
.
Field Summary | |
---|---|
static boolean |
DEFAULT_GLOBAL_ORDERING_ENABLED
Default global ordering configuration |
Constructor Summary | |
---|---|
TopicConfig()
Creates a TopicConfig. |
|
TopicConfig(TopicConfig config)
Creates a TopicConfig by cloning another TopicConfig. |
Method Summary | |
---|---|
TopicConfig |
addMessageListenerConfig(ListenerConfig listenerConfig)
|
boolean |
equals(Object obj)
|
TopicConfigReadOnly |
getAsReadOnly()
|
List<ListenerConfig> |
getMessageListenerConfigs()
|
String |
getName()
Gets the name of the topic, null if nothing is set. |
int |
hashCode()
|
boolean |
isGlobalOrderingEnabled()
|
boolean |
isStatisticsEnabled()
Checks if statistics are enabled. |
TopicConfig |
setGlobalOrderingEnabled(boolean globalOrderingEnabled)
|
TopicConfig |
setMessageListenerConfigs(List<ListenerConfig> listenerConfigs)
|
TopicConfig |
setName(String name)
Sets the name of the topic. |
TopicConfig |
setStatisticsEnabled(boolean statisticsEnabled)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final boolean DEFAULT_GLOBAL_ORDERING_ENABLED
Constructor Detail |
---|
public TopicConfig()
public TopicConfig(TopicConfig config)
TopicConfig
by cloning another TopicConfig.
config
- Method Detail |
---|
public TopicConfigReadOnly getAsReadOnly()
public String getName()
public TopicConfig setName(String name)
name
- the name to set
IllegalArgumentException
- if name is null or an empty string.public boolean isGlobalOrderingEnabled()
public TopicConfig setGlobalOrderingEnabled(boolean globalOrderingEnabled)
globalOrderingEnabled
- the globalOrderingEnabled to setpublic TopicConfig addMessageListenerConfig(ListenerConfig listenerConfig)
public List<ListenerConfig> getMessageListenerConfigs()
public TopicConfig setMessageListenerConfigs(List<ListenerConfig> listenerConfigs)
public boolean isStatisticsEnabled()
public TopicConfig setStatisticsEnabled(boolean statisticsEnabled)
statisticsEnabled
-
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |