public class ClientDynamicClusterConfig extends Config
Constructor and Description |
---|
ClientDynamicClusterConfig(HazelcastClientInstanceImpl instance) |
findCacheEventJournalConfig, findMapEventJournalConfig, getCacheEventJournalConfig, getCacheEventJournalConfigs, getMapConfigOrNull, getMapEventJournalConfig, getMapEventJournalConfigs, getSemaphoreConfigsAsMap, setCacheEventJournalConfigs, setMapEventJournalConfigs
public ClientDynamicClusterConfig(HazelcastClientInstanceImpl instance)
public Config addMapConfig(MapConfig mapConfig)
addMapConfig
in class Config
public Config addCacheConfig(CacheSimpleConfig cacheConfig)
addCacheConfig
in class Config
public Config addQueueConfig(QueueConfig queueConfig)
addQueueConfig
in class Config
public Config addLockConfig(LockConfig lockConfig)
addLockConfig
in class Config
public Config addListConfig(ListConfig listConfig)
addListConfig
in class Config
public Config addSetConfig(SetConfig setConfig)
addSetConfig
in class Config
public Config addMultiMapConfig(MultiMapConfig multiMapConfig)
addMultiMapConfig
in class Config
public Config addReplicatedMapConfig(ReplicatedMapConfig replicatedMapConfig)
addReplicatedMapConfig
in class Config
public Config addRingBufferConfig(RingbufferConfig ringbufferConfig)
addRingBufferConfig
in class Config
public Config addTopicConfig(TopicConfig topicConfig)
addTopicConfig
in class Config
public Config addReliableTopicConfig(ReliableTopicConfig config)
addReliableTopicConfig
in class Config
public Config addExecutorConfig(ExecutorConfig executorConfig)
Config
addExecutorConfig
in class Config
executorConfig
- executor config to addpublic Config addDurableExecutorConfig(DurableExecutorConfig durableExecutorConfig)
Config
addDurableExecutorConfig
in class Config
durableExecutorConfig
- executor config to addpublic Config addScheduledExecutorConfig(ScheduledExecutorConfig scheduledExecutorConfig)
Config
addScheduledExecutorConfig
in class Config
scheduledExecutorConfig
- executor config to addpublic Config addCardinalityEstimatorConfig(CardinalityEstimatorConfig cardinalityEstimatorConfig)
Config
addCardinalityEstimatorConfig
in class Config
cardinalityEstimatorConfig
- estimator config to addpublic Config addSemaphoreConfig(SemaphoreConfig semaphoreConfig)
Config
addSemaphoreConfig
in class Config
semaphoreConfig
- semaphore config to addpublic Config addWanReplicationConfig(WanReplicationConfig wanReplicationConfig)
addWanReplicationConfig
in class Config
public Config addJobTrackerConfig(JobTrackerConfig jobTrackerConfig)
addJobTrackerConfig
in class Config
public Config addQuorumConfig(QuorumConfig quorumConfig)
addQuorumConfig
in class Config
public Config addListenerConfig(ListenerConfig listenerConfig)
addListenerConfig
in class Config
public Config addEventJournalConfig(EventJournalConfig eventJournalConfig)
addEventJournalConfig
in class Config
public ClassLoader getClassLoader()
Config
If null
, then thread context class-loader will be used instead.
getClassLoader
in class Config
public Config setClassLoader(ClassLoader classLoader)
Config
If not set (or set to null
); thread context class-loader
will be used in required places.
Default value is null
.
setClassLoader
in class Config
classLoader
- class-loader to be used during de-serializationpublic ConfigPatternMatcher getConfigPatternMatcher()
getConfigPatternMatcher
in class Config
public void setConfigPatternMatcher(ConfigPatternMatcher configPatternMatcher)
setConfigPatternMatcher
in class Config
public String getProperty(String name)
Config
getProperty
in class Config
name
- property namepublic Config setProperty(String name, String value)
Config
setProperty
in class Config
name
- property namevalue
- value of the propertyConfig
for chainingpublic MemberAttributeConfig getMemberAttributeConfig()
getMemberAttributeConfig
in class Config
public void setMemberAttributeConfig(MemberAttributeConfig memberAttributeConfig)
setMemberAttributeConfig
in class Config
public Properties getProperties()
getProperties
in class Config
public Config setProperties(Properties properties)
setProperties
in class Config
public String getInstanceName()
getInstanceName
in class Config
public Config setInstanceName(String instanceName)
setInstanceName
in class Config
public GroupConfig getGroupConfig()
getGroupConfig
in class Config
public Config setGroupConfig(GroupConfig groupConfig)
setGroupConfig
in class Config
public NetworkConfig getNetworkConfig()
getNetworkConfig
in class Config
public Config setNetworkConfig(NetworkConfig networkConfig)
setNetworkConfig
in class Config
public MapConfig findMapConfig(String name)
findMapConfig
in class Config
public MapConfig getMapConfig(String name)
getMapConfig
in class Config
public Map<String,MapConfig> getMapConfigs()
getMapConfigs
in class Config
public Config setMapConfigs(Map<String,MapConfig> mapConfigs)
setMapConfigs
in class Config
mapConfigs
- the mapConfigs to setpublic CacheSimpleConfig findCacheConfig(String name)
findCacheConfig
in class Config
public CacheSimpleConfig getCacheConfig(String name)
getCacheConfig
in class Config
public Map<String,CacheSimpleConfig> getCacheConfigs()
getCacheConfigs
in class Config
public Config setCacheConfigs(Map<String,CacheSimpleConfig> cacheConfigs)
setCacheConfigs
in class Config
cacheConfigs
- the cacheConfigs to setpublic QueueConfig findQueueConfig(String name)
findQueueConfig
in class Config
public QueueConfig getQueueConfig(String name)
getQueueConfig
in class Config
public Map<String,QueueConfig> getQueueConfigs()
getQueueConfigs
in class Config
public Config setQueueConfigs(Map<String,QueueConfig> queueConfigs)
setQueueConfigs
in class Config
public LockConfig findLockConfig(String name)
findLockConfig
in class Config
public LockConfig getLockConfig(String name)
getLockConfig
in class Config
public Map<String,LockConfig> getLockConfigs()
getLockConfigs
in class Config
public Config setLockConfigs(Map<String,LockConfig> lockConfigs)
setLockConfigs
in class Config
public ListConfig findListConfig(String name)
findListConfig
in class Config
public ListConfig getListConfig(String name)
getListConfig
in class Config
public Map<String,ListConfig> getListConfigs()
getListConfigs
in class Config
public Config setListConfigs(Map<String,ListConfig> listConfigs)
setListConfigs
in class Config
public SetConfig findSetConfig(String name)
findSetConfig
in class Config
public SetConfig getSetConfig(String name)
getSetConfig
in class Config
public Map<String,SetConfig> getSetConfigs()
getSetConfigs
in class Config
public Config setSetConfigs(Map<String,SetConfig> setConfigs)
setSetConfigs
in class Config
public MultiMapConfig findMultiMapConfig(String name)
findMultiMapConfig
in class Config
public MultiMapConfig getMultiMapConfig(String name)
getMultiMapConfig
in class Config
public Map<String,MultiMapConfig> getMultiMapConfigs()
getMultiMapConfigs
in class Config
public Config setMultiMapConfigs(Map<String,MultiMapConfig> multiMapConfigs)
setMultiMapConfigs
in class Config
public ReplicatedMapConfig findReplicatedMapConfig(String name)
findReplicatedMapConfig
in class Config
public ReplicatedMapConfig getReplicatedMapConfig(String name)
getReplicatedMapConfig
in class Config
public Map<String,ReplicatedMapConfig> getReplicatedMapConfigs()
getReplicatedMapConfigs
in class Config
public Config setReplicatedMapConfigs(Map<String,ReplicatedMapConfig> replicatedMapConfigs)
setReplicatedMapConfigs
in class Config
public RingbufferConfig findRingbufferConfig(String name)
findRingbufferConfig
in class Config
public RingbufferConfig getRingbufferConfig(String name)
getRingbufferConfig
in class Config
public Map<String,RingbufferConfig> getRingbufferConfigs()
getRingbufferConfigs
in class Config
public Config setRingbufferConfigs(Map<String,RingbufferConfig> ringbufferConfigs)
setRingbufferConfigs
in class Config
public TopicConfig findTopicConfig(String name)
findTopicConfig
in class Config
public TopicConfig getTopicConfig(String name)
getTopicConfig
in class Config
public ReliableTopicConfig findReliableTopicConfig(String name)
findReliableTopicConfig
in class Config
public ReliableTopicConfig getReliableTopicConfig(String name)
getReliableTopicConfig
in class Config
public Map<String,ReliableTopicConfig> getReliableTopicConfigs()
getReliableTopicConfigs
in class Config
public Config setReliableTopicConfigs(Map<String,ReliableTopicConfig> reliableTopicConfigs)
setReliableTopicConfigs
in class Config
public Map<String,TopicConfig> getTopicConfigs()
getTopicConfigs
in class Config
public Config setTopicConfigs(Map<String,TopicConfig> mapTopicConfigs)
setTopicConfigs
in class Config
mapTopicConfigs
- the topicConfigs to setpublic ExecutorConfig findExecutorConfig(String name)
findExecutorConfig
in class Config
public DurableExecutorConfig findDurableExecutorConfig(String name)
findDurableExecutorConfig
in class Config
public ScheduledExecutorConfig findScheduledExecutorConfig(String name)
findScheduledExecutorConfig
in class Config
public CardinalityEstimatorConfig findCardinalityEstimatorConfig(String name)
findCardinalityEstimatorConfig
in class Config
public ExecutorConfig getExecutorConfig(String name)
Config
getExecutorConfig
in class Config
name
- name of the executor configpublic DurableExecutorConfig getDurableExecutorConfig(String name)
Config
getDurableExecutorConfig
in class Config
name
- name of the durable executor configpublic ScheduledExecutorConfig getScheduledExecutorConfig(String name)
Config
getScheduledExecutorConfig
in class Config
name
- name of the scheduled executor configpublic CardinalityEstimatorConfig getCardinalityEstimatorConfig(String name)
Config
getCardinalityEstimatorConfig
in class Config
name
- name of the cardinality estimator configpublic Map<String,ExecutorConfig> getExecutorConfigs()
getExecutorConfigs
in class Config
public Config setExecutorConfigs(Map<String,ExecutorConfig> executorConfigs)
setExecutorConfigs
in class Config
public Map<String,DurableExecutorConfig> getDurableExecutorConfigs()
getDurableExecutorConfigs
in class Config
public Config setDurableExecutorConfigs(Map<String,DurableExecutorConfig> durableExecutorConfigs)
setDurableExecutorConfigs
in class Config
public Map<String,ScheduledExecutorConfig> getScheduledExecutorConfigs()
getScheduledExecutorConfigs
in class Config
public Config setScheduledExecutorConfigs(Map<String,ScheduledExecutorConfig> scheduledExecutorConfigs)
setScheduledExecutorConfigs
in class Config
public Map<String,CardinalityEstimatorConfig> getCardinalityEstimatorConfigs()
getCardinalityEstimatorConfigs
in class Config
public Config setCardinalityEstimatorConfigs(Map<String,CardinalityEstimatorConfig> cardinalityEstimatorConfigs)
setCardinalityEstimatorConfigs
in class Config
public SemaphoreConfig findSemaphoreConfig(String name)
findSemaphoreConfig
in class Config
public SemaphoreConfig getSemaphoreConfig(String name)
Config
getSemaphoreConfig
in class Config
name
- name of the semaphore configpublic Collection<SemaphoreConfig> getSemaphoreConfigs()
Config
getSemaphoreConfigs
in class Config
public Config setSemaphoreConfigs(Map<String,SemaphoreConfig> semaphoreConfigs)
setSemaphoreConfigs
in class Config
public WanReplicationConfig getWanReplicationConfig(String name)
getWanReplicationConfig
in class Config
public Map<String,WanReplicationConfig> getWanReplicationConfigs()
getWanReplicationConfigs
in class Config
public Config setWanReplicationConfigs(Map<String,WanReplicationConfig> wanReplicationConfigs)
setWanReplicationConfigs
in class Config
public JobTrackerConfig findJobTrackerConfig(String name)
findJobTrackerConfig
in class Config
public JobTrackerConfig getJobTrackerConfig(String name)
getJobTrackerConfig
in class Config
public Map<String,JobTrackerConfig> getJobTrackerConfigs()
getJobTrackerConfigs
in class Config
public Config setJobTrackerConfigs(Map<String,JobTrackerConfig> jobTrackerConfigs)
setJobTrackerConfigs
in class Config
public Map<String,QuorumConfig> getQuorumConfigs()
getQuorumConfigs
in class Config
public QuorumConfig getQuorumConfig(String name)
getQuorumConfig
in class Config
public QuorumConfig findQuorumConfig(String name)
findQuorumConfig
in class Config
public Config setQuorumConfigs(Map<String,QuorumConfig> quorumConfigs)
setQuorumConfigs
in class Config
public ManagementCenterConfig getManagementCenterConfig()
getManagementCenterConfig
in class Config
public Config setManagementCenterConfig(ManagementCenterConfig managementCenterConfig)
setManagementCenterConfig
in class Config
public ServicesConfig getServicesConfig()
getServicesConfig
in class Config
public Config setServicesConfig(ServicesConfig servicesConfig)
setServicesConfig
in class Config
public SecurityConfig getSecurityConfig()
getSecurityConfig
in class Config
public Config setSecurityConfig(SecurityConfig securityConfig)
setSecurityConfig
in class Config
public List<ListenerConfig> getListenerConfigs()
getListenerConfigs
in class Config
public Config setListenerConfigs(List<ListenerConfig> listenerConfigs)
setListenerConfigs
in class Config
public SerializationConfig getSerializationConfig()
getSerializationConfig
in class Config
public Config setSerializationConfig(SerializationConfig serializationConfig)
setSerializationConfig
in class Config
public PartitionGroupConfig getPartitionGroupConfig()
getPartitionGroupConfig
in class Config
public Config setPartitionGroupConfig(PartitionGroupConfig partitionGroupConfig)
setPartitionGroupConfig
in class Config
public HotRestartPersistenceConfig getHotRestartPersistenceConfig()
Config
getHotRestartPersistenceConfig
in class Config
public Config setHotRestartPersistenceConfig(HotRestartPersistenceConfig hrConfig)
Config
setHotRestartPersistenceConfig
in class Config
hrConfig
- hot restart configurationpublic ManagedContext getManagedContext()
getManagedContext
in class Config
public Config setManagedContext(ManagedContext managedContext)
setManagedContext
in class Config
public ConcurrentMap<String,Object> getUserContext()
getUserContext
in class Config
public Config setUserContext(ConcurrentMap<String,Object> userContext)
setUserContext
in class Config
public NativeMemoryConfig getNativeMemoryConfig()
getNativeMemoryConfig
in class Config
public Config setNativeMemoryConfig(NativeMemoryConfig nativeMemoryConfig)
setNativeMemoryConfig
in class Config
public URL getConfigurationUrl()
Config
getConfigurationUrl
in class Config
public Config setConfigurationUrl(URL configurationUrl)
Config
URL
to the XML configuration, which has been parsed to create this Config
instance.
Is set by the XmlConfigBuilder
, when the XML configuration was retrieved from a URL.
setConfigurationUrl
in class Config
configurationUrl
- the configurationUrl to setpublic File getConfigurationFile()
Config
getConfigurationFile
in class Config
public Config setConfigurationFile(File configurationFile)
Config
File
to the XML configuration, which has been parsed to create this Config
instance.
Is set by the XmlConfigBuilder
, when the XML configuration was retrieved from a file.
setConfigurationFile
in class Config
configurationFile
- the configurationFile to setpublic String getLicenseKey()
getLicenseKey
in class Config
public Config setLicenseKey(String licenseKey)
setLicenseKey
in class Config
public boolean isLiteMember()
isLiteMember
in class Config
public Config setLiteMember(boolean liteMember)
setLiteMember
in class Config
liteMember
- sets if the node will be a lite member or not. Lite members do not own any partitionpublic UserCodeDeploymentConfig getUserCodeDeploymentConfig()
Config
getUserCodeDeploymentConfig
in class Config
public Config setUserCodeDeploymentConfig(UserCodeDeploymentConfig userCodeDeploymentConfig)
Config
setUserCodeDeploymentConfig
in class Config
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.