Uses of Class
com.hazelcast.config.TopicConfig
-
Uses of TopicConfig in com.hazelcast.config
Modifier and TypeMethodDescriptionTopicConfig.addMessageListenerConfig
(ListenerConfig listenerConfig) Adds a message listener to this topic (listens for when messages are added or removed).Config.findTopicConfig
(String name) Returns a read-onlyITopic
configuration for the given name.Config.getTopicConfig
(String name) Returns the TopicConfig for the given name, creating one if necessary and adding it to the collection of known configurations.TopicConfig.setGlobalOrderingEnabled
(boolean globalOrderingEnabled) Enable global ordering (all nodes listening to the same topic get their messages in the same order), or disable it (nodes get the messages in the order that the messages are published).TopicConfig.setMessageListenerConfigs
(List<ListenerConfig> listenerConfigs) Sets the list of message listeners (listens for when messages are added or removed) for this topic.TopicConfig.setMultiThreadingEnabled
(boolean multiThreadingEnabled) Enable multithreaded message handling.Sets the name of the topic.TopicConfig.setStatisticsEnabled
(boolean statisticsEnabled) Enables or disables statistics for this topic.TopicConfig.setUserCodeNamespace
(String userCodeNamespace) Associates the provided Namespace Name with this structure forClassLoader
awareness.Modifier and TypeMethodDescriptionConfig.getTopicConfigs()
Returns the map of reliable topic configurations, mapped by config name.Modifier and TypeMethodDescriptionConfig.addTopicConfig
(TopicConfig topicConfig) Adds the topic configuration.Modifier and TypeMethodDescriptionConfig.setTopicConfigs
(Map<String, TopicConfig> topicConfigs) Sets the map ofITopic
configurations, mapped by config name.ModifierConstructorDescriptionTopicConfig
(TopicConfig config) Creates aTopicConfig
by cloning another TopicConfig.