Uses of Class
com.hazelcast.config.TopicConfig
Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
-
Uses of TopicConfig in com.hazelcast.config
Methods in com.hazelcast.config that return TopicConfig Modifier and Type Method Description TopicConfig
TopicConfig. addMessageListenerConfig(ListenerConfig listenerConfig)
Adds a message listener to this topic (listens for when messages are added or removed).TopicConfig
Config. findTopicConfig(String name)
Returns a read-onlyITopic
configuration for the given name.TopicConfig
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
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
TopicConfig. setMessageListenerConfigs(List<ListenerConfig> listenerConfigs)
Sets the list of message listeners (listens for when messages are added or removed) for this topic.TopicConfig
TopicConfig. setMultiThreadingEnabled(boolean multiThreadingEnabled)
Enable multi-threaded message handling.TopicConfig
TopicConfig. setName(String name)
Sets the name of the topic.TopicConfig
TopicConfig. setStatisticsEnabled(boolean statisticsEnabled)
Enables or disables statistics for this topic.Methods in com.hazelcast.config that return types with arguments of type TopicConfig Modifier and Type Method Description Map<String,TopicConfig>
Config. getTopicConfigs()
Returns the map of reliable topic configurations, mapped by config name.Methods in com.hazelcast.config with parameters of type TopicConfig Modifier and Type Method Description Config
Config. addTopicConfig(TopicConfig topicConfig)
Adds the topic configuration.Method parameters in com.hazelcast.config with type arguments of type TopicConfig Modifier and Type Method Description Config
Config. setTopicConfigs(Map<String,TopicConfig> topicConfigs)
Sets the map ofITopic
configurations, mapped by config name.Constructors in com.hazelcast.config with parameters of type TopicConfig Constructor Description TopicConfig(TopicConfig config)
Creates aTopicConfig
by cloning another TopicConfig.