public class TopicConfigReadOnly extends TopicConfig
DEFAULT_GLOBAL_ORDERING_ENABLED
Constructor and Description |
---|
TopicConfigReadOnly(TopicConfig config) |
Modifier and Type | Method and Description |
---|---|
TopicConfig |
addMessageListenerConfig(ListenerConfig listenerConfig) |
List<ListenerConfig> |
getMessageListenerConfigs() |
TopicConfig |
setGlobalOrderingEnabled(boolean globalOrderingEnabled) |
TopicConfig |
setMessageListenerConfigs(List<ListenerConfig> listenerConfigs) |
TopicConfig |
setName(String name)
Sets the name of the topic.
|
TopicConfig |
setStatisticsEnabled(boolean statisticsEnabled) |
equals, getAsReadOnly, getName, hashCode, isGlobalOrderingEnabled, isStatisticsEnabled, toString
public TopicConfigReadOnly(TopicConfig config)
public List<ListenerConfig> getMessageListenerConfigs()
getMessageListenerConfigs
in class TopicConfig
public TopicConfig setName(String name)
TopicConfig
setName
in class TopicConfig
name
- the name to setpublic TopicConfig setGlobalOrderingEnabled(boolean globalOrderingEnabled)
setGlobalOrderingEnabled
in class TopicConfig
globalOrderingEnabled
- the globalOrderingEnabled to setpublic TopicConfig addMessageListenerConfig(ListenerConfig listenerConfig)
addMessageListenerConfig
in class TopicConfig
public TopicConfig setMessageListenerConfigs(List<ListenerConfig> listenerConfigs)
setMessageListenerConfigs
in class TopicConfig
public TopicConfig setStatisticsEnabled(boolean statisticsEnabled)
setStatisticsEnabled
in class TopicConfig
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.