Package com.hazelcast.config
Class UrlYamlConfig
java.lang.Object
com.hazelcast.config.Config
com.hazelcast.config.UrlYamlConfig
A
Config
which is loaded using some url pointing to a Hazelcast YAML file.
Unlike Config.load()
and its variants, a configuration constructed via
UrlYamlConfig
does not apply overrides found in environment variables/system properties.
-
Field Summary
Fields inherited from class com.hazelcast.config.Config
DEFAULT_CLUSTER_NAME, userCodeNamespacesConfig
-
Constructor Summary
ConstructorDescriptionUrlYamlConfig
(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, addDataConnectionConfig, addDeviceConfig, addDurableExecutorConfig, addExecutorConfig, addFlakeIdGeneratorConfig, addListConfig, addListenerConfig, addMapConfig, addMultiMapConfig, addPNCounterConfig, addQueueConfig, addReliableTopicConfig, addReplicatedMapConfig, addRingBufferConfig, addScheduledExecutorConfig, addSetConfig, addSplitBrainProtectionConfig, addTopicConfig, addWanReplicationConfig, findCacheConfig, findCacheConfigOrNull, findCardinalityEstimatorConfig, findDataConnectionConfig, findDurableExecutorConfig, findExecutorConfig, findFlakeIdGeneratorConfig, findListConfig, findMapConfig, findMultiMapConfig, findPNCounterConfig, findQueueConfig, findReliableTopicConfig, findReplicatedMapConfig, findRingbufferConfig, findScheduledExecutorConfig, findSetConfig, findSplitBrainProtectionConfig, findTopicConfig, getAdvancedNetworkConfig, getAuditlogConfig, getCacheConfig, getCacheConfigs, getCardinalityEstimatorConfig, getCardinalityEstimatorConfigs, getClassLoader, getClusterName, getConfigPatternMatcher, getConfigurationFile, getConfigurationUrl, getCPSubsystemConfig, getCRDTReplicationConfig, getDataConnectionConfig, getDataConnectionConfigs, getDeviceConfig, getDeviceConfig, getDeviceConfigs, getDurableExecutorConfig, getDurableExecutorConfigs, getDynamicConfigurationConfig, getExecutorConfig, getExecutorConfigs, getFlakeIdGeneratorConfig, getFlakeIdGeneratorConfigs, getHotRestartPersistenceConfig, getInstanceName, getInstanceTrackingConfig, getIntegrityCheckerConfig, getJetConfig, getLicenseKey, getListConfig, getListConfigs, getListenerConfigs, getManagedContext, getManagementCenterConfig, getMapConfig, getMapConfigOrNull, getMapConfigs, getMemberAttributeConfig, getMetricsConfig, getMultiMapConfig, getMultiMapConfigs, getNamespacesConfig, getNativeMemoryConfig, getNetworkConfig, getPartitionGroupConfig, getPersistenceConfig, getPNCounterConfig, getPNCounterConfigs, getProperties, getProperty, getQueueConfig, getQueueConfigs, getReliableTopicConfig, getReliableTopicConfigs, getReplicatedMapConfig, getReplicatedMapConfigs, getRestConfig, getRingbufferConfig, getRingbufferConfigs, getScheduledExecutorConfig, getScheduledExecutorConfigs, getSecurityConfig, getSerializationConfig, getServicesConfig, getSetConfig, getSetConfigs, getSplitBrainProtectionConfig, getSplitBrainProtectionConfigs, getSqlConfig, getTopicConfig, getTopicConfigs, getTpcConfig, getUserCodeDeploymentConfig, getUserContext, getWanReplicationConfig, getWanReplicationConfigs, isLiteMember, load, loadDefault, loadDefault, loadFromClasspath, loadFromClasspath, loadFromFile, loadFromFile, loadFromStream, loadFromStream, loadFromString, loadFromString, setAdvancedNetworkConfig, setAuditlogConfig, setCacheConfigs, setCardinalityEstimatorConfigs, setClassLoader, setClusterName, setConfigPatternMatcher, setConfigurationFile, setConfigurationUrl, setCPSubsystemConfig, setCRDTReplicationConfig, setDataConnectionConfigs, setDeviceConfigs, setDurableExecutorConfigs, setDynamicConfigurationConfig, setExecutorConfigs, setFlakeIdGeneratorConfigs, setHotRestartPersistenceConfig, setInstanceName, setInstanceTrackingConfig, setIntegrityCheckerConfig, setJetConfig, setLicenseKey, setListConfigs, setListenerConfigs, setLiteMember, setManagedContext, setManagementCenterConfig, setMapConfigs, setMemberAttributeConfig, setMetricsConfig, setMultiMapConfigs, setNamespacesConfig, setNativeMemoryConfig, setNetworkConfig, setPartitionGroupConfig, setPersistenceConfig, setPNCounterConfigs, setProperties, setProperty, setQueueConfigs, setReliableTopicConfigs, setReplicatedMapConfigs, setRestConfig, setRingbufferConfigs, setScheduledExecutorConfigs, setSecurityConfig, setSerializationConfig, setSetConfigs, setSplitBrainProtectionConfigs, setSqlConfig, setTopicConfigs, setTpcConfig, 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
-