Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Class and Description |
---|---|
class |
TopicConfigReadOnly
Deprecated.
this class will be removed in 4.0; it is meant for internal usage only.
|
Modifier and Type | Method and Description |
---|---|
TopicConfig |
TopicConfigReadOnly.addMessageListenerConfig(ListenerConfig listenerConfig)
Deprecated.
|
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 |
TopicConfigReadOnly.setGlobalOrderingEnabled(boolean globalOrderingEnabled)
Deprecated.
|
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 |
TopicConfigReadOnly.setMessageListenerConfigs(List<ListenerConfig> listenerConfigs)
Deprecated.
|
TopicConfig |
TopicConfig.setMessageListenerConfigs(List<ListenerConfig> listenerConfigs)
Sets the list of message listeners (listens for when messages are added or removed) for this topic.
|
TopicConfig |
TopicConfigReadOnly.setMultiThreadingEnabled(boolean multiThreadingEnabled)
Deprecated.
|
TopicConfig |
TopicConfig.setMultiThreadingEnabled(boolean multiThreadingEnabled)
Enable multi-threaded message handling.
|
TopicConfig |
TopicConfigReadOnly.setName(String name)
Deprecated.
|
TopicConfig |
TopicConfig.setName(String name)
Sets the name of the topic.
|
TopicConfig |
TopicConfigReadOnly.setStatisticsEnabled(boolean statisticsEnabled)
Deprecated.
|
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. |
TopicConfigReadOnly(TopicConfig config)
Deprecated.
|
Copyright © 2018 Hazelcast, Inc.. All rights reserved.