Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Method and 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-only
ITopic
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.
|
Modifier and Type | Method and Description |
---|---|
Map<String,TopicConfig> |
Config.getTopicConfigs()
Returns the map of reliable topic configurations, mapped by config name.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.addTopicConfig(TopicConfig topicConfig)
Adds the topic configuration.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.setTopicConfigs(Map<String,TopicConfig> topicConfigs)
Sets the map of
ITopic configurations,
mapped by config name. |
Constructor and Description |
---|
TopicConfig(TopicConfig config)
Creates a
TopicConfig by cloning another TopicConfig. |
Copyright © 2023 Hazelcast, Inc.. All rights reserved.