com.hazelcast.config
Class TopicConfigReadOnly

java.lang.Object
  extended by com.hazelcast.config.TopicConfig
      extended by com.hazelcast.config.TopicConfigReadOnly

public class TopicConfigReadOnly
extends TopicConfig

Configuration for topic(Read only)


Field Summary
 
Fields inherited from class com.hazelcast.config.TopicConfig
DEFAULT_GLOBAL_ORDERING_ENABLED
 
Constructor Summary
TopicConfigReadOnly(TopicConfig config)
           
 
Method Summary
 TopicConfig addMessageListenerConfig(ListenerConfig listenerConfig)
           
 List<ListenerConfig> getMessageListenerConfigs()
           
 TopicConfig setGlobalOrderingEnabled(boolean globalOrderingEnabled)
           
 TopicConfig setMessageListenerConfigs(List<ListenerConfig> listenerConfigs)
           
 TopicConfig setName(String name)
          Sets the name of the topic.
 TopicConfig setStatisticsEnabled(boolean statisticsEnabled)
           
 
Methods inherited from class com.hazelcast.config.TopicConfig
equals, getAsReadOnly, getName, hashCode, isGlobalOrderingEnabled, isStatisticsEnabled, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TopicConfigReadOnly

public TopicConfigReadOnly(TopicConfig config)
Method Detail

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.