public class UrlYamlConfig extends Config
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.
DEFAULT_CLUSTER_NAME
Constructor and 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.
|
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, getNativeMemoryConfig, getNetworkConfig, getPartitionGroupConfig, getPersistenceConfig, getPNCounterConfig, getPNCounterConfigs, getProperties, getProperty, getQueueConfig, getQueueConfigs, getReliableTopicConfig, getReliableTopicConfigs, getReplicatedMapConfig, getReplicatedMapConfigs, 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, setNativeMemoryConfig, setNetworkConfig, setPartitionGroupConfig, setPersistenceConfig, setPNCounterConfigs, setProperties, setProperty, setQueueConfigs, setReliableTopicConfigs, setReplicatedMapConfigs, setRingbufferConfigs, setScheduledExecutorConfigs, setSecurityConfig, setSerializationConfig, setSetConfigs, setSplitBrainProtectionConfigs, setSqlConfig, setTopicConfigs, setTpcConfig, setUserCodeDeploymentConfig, setUserContext, setWanReplicationConfigs, toString
public UrlYamlConfig(String url) throws IOException
url
- the url pointing to the Hazelcast YAML fileMalformedURLException
- if the url is not correctIOException
- if something fails while loading the resourceInvalidConfigurationException
- if the YAML content is invalidpublic UrlYamlConfig(String url, Properties properties) throws IOException
url
- the url pointing to the Hazelcast YAML fileproperties
- the properties for replacing variablesIllegalArgumentException
- if properties is null
MalformedURLException
- if the url is not correctIOException
- if something fails while loading the resourceInvalidConfigurationException
- if the YAML content is invalidpublic UrlYamlConfig(URL url) throws IOException
url
- the URL pointing to the Hazelcast YAML fileIOException
- if something fails while loading the resourceIllegalArgumentException
- if the url is null
InvalidConfigurationException
- if the YAML content is invalidpublic UrlYamlConfig(URL url, Properties properties) throws IOException
url
- the URL pointing to the Hazelcast YAML fileproperties
- the properties for replacing variablesIOException
- if something fails while loading the resourceIllegalArgumentException
- if the url or properties is null
InvalidConfigurationException
- if the YAML content is invalidCopyright © 2024 Hazelcast, Inc.. All rights reserved.