Package com.hazelcast.config
Class UrlYamlConfig
java.lang.Object
com.hazelcast.config.Config
com.hazelcast.config.UrlYamlConfig
public class UrlYamlConfig extends Config
A
Config
which is loaded using some url pointing to a Hazelcast YAML file.-
Field Summary
-
Constructor Summary
Constructors Constructor Description UrlYamlConfig(String url)
Creates new Config which is loaded from the given url and uses the System.properties to replace variables in the YAML.UrlYamlConfig(String url, Properties properties)
Creates new Config which is loaded from the given url.UrlYamlConfig(URL url)
Creates new Config which is loaded from the given url and uses the System.properties to replace variables in the YAML.UrlYamlConfig(URL url, Properties properties)
Creates new Config which is loaded from the given url. -
Method Summary
Methods inherited from class com.hazelcast.config.Config
addCacheConfig, addCardinalityEstimatorConfig, addDurableExecutorConfig, addExecutorConfig, addFlakeIdGeneratorConfig, addListConfig, addListenerConfig, addMapConfig, addMultiMapConfig, addPNCounterConfig, addQueueConfig, addReliableTopicConfig, addReplicatedMapConfig, addRingBufferConfig, addScheduledExecutorConfig, addSetConfig, addSplitBrainProtectionConfig, addTopicConfig, addWanReplicationConfig, findCacheConfig, findCacheConfigOrNull, findCardinalityEstimatorConfig, findDurableExecutorConfig, findExecutorConfig, findFlakeIdGeneratorConfig, findListConfig, findMapConfig, findMultiMapConfig, findPNCounterConfig, findQueueConfig, findReliableTopicConfig, findReplicatedMapConfig, findRingbufferConfig, findScheduledExecutorConfig, findSetConfig, findSplitBrainProtectionConfig, findTopicConfig, getAdvancedNetworkConfig, getCacheConfig, getCacheConfigs, getCardinalityEstimatorConfig, getCardinalityEstimatorConfigs, getClassLoader, getClusterName, getConfigPatternMatcher, getConfigurationFile, getConfigurationUrl, getCPSubsystemConfig, getCRDTReplicationConfig, getDurableExecutorConfig, getDurableExecutorConfigs, getExecutorConfig, getExecutorConfigs, getFlakeIdGeneratorConfig, getFlakeIdGeneratorConfigs, getHotRestartPersistenceConfig, getInstanceName, getLicenseKey, getListConfig, getListConfigs, getListenerConfigs, getManagedContext, getManagementCenterConfig, getMapConfig, getMapConfigOrNull, getMapConfigs, getMemberAttributeConfig, getMetricsConfig, getMultiMapConfig, getMultiMapConfigs, getNativeMemoryConfig, getNetworkConfig, getPartitionGroupConfig, getPNCounterConfig, getPNCounterConfigs, getProperties, getProperty, getQueueConfig, getQueueConfigs, getReliableTopicConfig, getReliableTopicConfigs, getReplicatedMapConfig, getReplicatedMapConfigs, getRingbufferConfig, getRingbufferConfigs, getScheduledExecutorConfig, getScheduledExecutorConfigs, getSecurityConfig, getSerializationConfig, getServicesConfig, getSetConfig, getSetConfigs, getSplitBrainProtectionConfig, getSplitBrainProtectionConfigs, getTopicConfig, getTopicConfigs, getUserCodeDeploymentConfig, getUserContext, getWanReplicationConfig, getWanReplicationConfigs, isLiteMember, setAdvancedNetworkConfig, setCacheConfigs, setCardinalityEstimatorConfigs, setClassLoader, setClusterName, setConfigPatternMatcher, setConfigurationFile, setConfigurationUrl, setCPSubsystemConfig, setCRDTReplicationConfig, setDurableExecutorConfigs, setExecutorConfigs, setFlakeIdGeneratorConfigs, setHotRestartPersistenceConfig, setInstanceName, setLicenseKey, setListConfigs, setListenerConfigs, setLiteMember, setManagedContext, setManagementCenterConfig, setMapConfigs, setMemberAttributeConfig, setMetricsConfig, setMultiMapConfigs, setNativeMemoryConfig, setNetworkConfig, setPartitionGroupConfig, setPNCounterConfigs, setProperties, setProperty, setQueueConfigs, setReliableTopicConfigs, setReplicatedMapConfigs, setRingbufferConfigs, setScheduledExecutorConfigs, setSecurityConfig, setSerializationConfig, setSetConfigs, setSplitBrainProtectionConfigs, setTopicConfigs, setUserCodeDeploymentConfig, setUserContext, setWanReplicationConfigs, toString
-
Constructor Details
-
UrlYamlConfig
Creates new Config which is loaded from the given url and uses the System.properties to replace variables in the YAML.- Parameters:
url
- the url pointing to the Hazelcast YAML file- Throws:
MalformedURLException
- if the url is not correctIOException
- if something fails while loading the resourceInvalidConfigurationException
- if the YAML content is invalid
-
UrlYamlConfig
Creates new Config which is loaded from the given url.- Parameters:
url
- the url pointing to the Hazelcast YAML fileproperties
- the properties for replacing variables- Throws:
IllegalArgumentException
- if properties isnull
MalformedURLException
- if the url is not correctIOException
- if something fails while loading the resourceInvalidConfigurationException
- if the YAML content is invalid
-
UrlYamlConfig
Creates new Config which is loaded from the given url and uses the System.properties to replace variables in the YAML.- Parameters:
url
- the URL pointing to the Hazelcast YAML file- Throws:
IOException
- if something fails while loading the resourceIllegalArgumentException
- if the url isnull
InvalidConfigurationException
- if the YAML content is invalid
-
UrlYamlConfig
Creates new Config which is loaded from the given url.- Parameters:
url
- the URL pointing to the Hazelcast YAML fileproperties
- the properties for replacing variables- Throws:
IOException
- if something fails while loading the resourceIllegalArgumentException
- if the url or properties isnull
InvalidConfigurationException
- if the YAML content is invalid
-