public class InMemoryXmlConfig extends Config
Config
loaded from an in-memory Hazelcast XML String.
Unlike Config.loadFromString(String)
and its variants, a configuration constructed via
InMemoryXmlConfig
does not apply overrides found in environment variables/system properties.
DEFAULT_CLUSTER_NAME
Constructor and Description |
---|
InMemoryXmlConfig(String xml)
Creates a Config from the provided XML string and uses the System.properties to resolve variables
in the XML.
|
InMemoryXmlConfig(String xml,
Properties properties)
Creates a Config from the provided XML string and properties to resolve the variables in the XML.
|
addCacheConfig, addCardinalityEstimatorConfig, addDataLinkConfig, addDeviceConfig, addDurableExecutorConfig, addExecutorConfig, addFlakeIdGeneratorConfig, addListConfig, addListenerConfig, addMapConfig, addMultiMapConfig, addPNCounterConfig, addQueueConfig, addReliableTopicConfig, addReplicatedMapConfig, addRingBufferConfig, addScheduledExecutorConfig, addSetConfig, addSplitBrainProtectionConfig, addTopicConfig, addWanReplicationConfig, findCacheConfig, findCacheConfigOrNull, findCardinalityEstimatorConfig, findDataLinkConfig, findDurableExecutorConfig, findExecutorConfig, findFlakeIdGeneratorConfig, findListConfig, findMapConfig, findMultiMapConfig, findPNCounterConfig, findQueueConfig, findReliableTopicConfig, findReplicatedMapConfig, findRingbufferConfig, findScheduledExecutorConfig, findSetConfig, findSplitBrainProtectionConfig, findTopicConfig, getAdvancedNetworkConfig, getAltoConfig, getAuditlogConfig, getCacheConfig, getCacheConfigs, getCardinalityEstimatorConfig, getCardinalityEstimatorConfigs, getClassLoader, getClusterName, getConfigPatternMatcher, getConfigurationFile, getConfigurationUrl, getCPSubsystemConfig, getCRDTReplicationConfig, getDataLinkConfig, getDataLinkConfigs, 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, getUserCodeDeploymentConfig, getUserContext, getWanReplicationConfig, getWanReplicationConfigs, isLiteMember, load, loadDefault, loadDefault, loadFromClasspath, loadFromClasspath, loadFromFile, loadFromFile, loadFromStream, loadFromStream, loadFromString, loadFromString, setAdvancedNetworkConfig, setAltoConfig, setAuditlogConfig, setCacheConfigs, setCardinalityEstimatorConfigs, setClassLoader, setClusterName, setConfigPatternMatcher, setConfigurationFile, setConfigurationUrl, setCPSubsystemConfig, setCRDTReplicationConfig, setDataLinkConfigs, 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, setUserCodeDeploymentConfig, setUserContext, setWanReplicationConfigs, toString
public InMemoryXmlConfig(String xml)
xml
- the XML content as a Hazelcast XML StringIllegalArgumentException
- if the XML is null or emptyInvalidConfigurationException
- if the XML content is invalidpublic InMemoryXmlConfig(String xml, Properties properties)
xml
- the XML content as a Hazelcast XML StringIllegalArgumentException
- if the XML is null or empty or if properties is nullInvalidConfigurationException
- if the XML content is invalidCopyright © 2023 Hazelcast, Inc.. All rights reserved.