com.hazelcast.config
Class TopicConfigReadOnly
java.lang.Object
com.hazelcast.config.TopicConfig
com.hazelcast.config.TopicConfigReadOnly
public class TopicConfigReadOnly
- extends TopicConfig
Configuration for topic(Read only)
TopicConfigReadOnly
public TopicConfigReadOnly(TopicConfig config)
getMessageListenerConfigs
public List<ListenerConfig> getMessageListenerConfigs()
- Overrides:
getMessageListenerConfigs
in class TopicConfig
setName
public TopicConfig setName(String name)
- Description copied from class:
TopicConfig
- Sets the name of the topic.
- Overrides:
setName
in class TopicConfig
- Parameters:
name
- the name to set
- Returns:
- the updated TopicConfig
setGlobalOrderingEnabled
public TopicConfig setGlobalOrderingEnabled(boolean globalOrderingEnabled)
- Overrides:
setGlobalOrderingEnabled
in class TopicConfig
- Parameters:
globalOrderingEnabled
- the globalOrderingEnabled to set
addMessageListenerConfig
public TopicConfig addMessageListenerConfig(ListenerConfig listenerConfig)
- Overrides:
addMessageListenerConfig
in class TopicConfig
setMessageListenerConfigs
public TopicConfig setMessageListenerConfigs(List<ListenerConfig> listenerConfigs)
- Overrides:
setMessageListenerConfigs
in class TopicConfig
setStatisticsEnabled
public TopicConfig setStatisticsEnabled(boolean statisticsEnabled)
- Overrides:
setStatisticsEnabled
in class TopicConfig
- Returns:
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.