public class ClientClasspathYamlConfig extends ClientConfig
ClientConfig
which is initialized by loading an YAML configuration file from the classpath.Constructor and Description |
---|
ClientClasspathYamlConfig(ClassLoader classLoader,
String resource,
Properties properties)
Creates a config which is loaded from a classpath resource.
|
ClientClasspathYamlConfig(String resource)
Creates a config which is loaded from a classpath resource using the
Thread.currentThread contextClassLoader.
|
ClientClasspathYamlConfig(String resource,
Properties properties)
Creates a config which is loaded from a classpath resource using the
Thread.currentThread contextClassLoader.
|
addAddress, addFlakeIdGeneratorConfig, addLabel, addListenerConfig, addNearCacheConfig, addNearCacheConfig, addProxyFactoryConfig, addQueryCacheConfig, addReliableTopicConfig, equals, findFlakeIdGeneratorConfig, getAddresses, getClassLoader, getConfigPatternMatcher, getConnectionAttemptLimit, getConnectionAttemptPeriod, getConnectionStrategyConfig, getConnectionTimeout, getCredentials, getExecutorPoolSize, getFlakeIdGeneratorConfig, getFlakeIdGeneratorConfigMap, getGroupConfig, getInstanceName, getLabels, getLicenseKey, getListenerConfigs, getLoadBalancer, getManagedContext, getNativeMemoryConfig, getNearCacheConfig, getNearCacheConfigMap, getNetworkConfig, getOrCreateQueryCacheConfig, getOrNullQueryCacheConfig, getProperties, getProperty, getProxyFactoryConfigs, getQueryCacheConfigs, getReliableTopicConfig, getReliableTopicConfigMap, getSecurityConfig, getSerializationConfig, getSocketInterceptorConfig, getSocketOptions, getUserCodeDeploymentConfig, getUserContext, hashCode, isRedoOperation, isSmartRouting, setAddresses, setClassLoader, setConfigPatternMatcher, setConnectionAttemptLimit, setConnectionAttemptPeriod, setConnectionStrategyConfig, setConnectionTimeout, setCredentials, setExecutorPoolSize, setFlakeIdGeneratorConfigMap, setGroupConfig, setInstanceName, setLabels, setLicenseKey, setListenerConfigs, setLoadBalancer, setManagedContext, setNativeMemoryConfig, setNearCacheConfigMap, setNetworkConfig, setProperties, setProperty, setProxyFactoryConfigs, setQueryCacheConfigs, setRedoOperation, setReliableTopicConfigMap, setSecurityConfig, setSerializationConfig, setSmartRouting, setSocketInterceptorConfig, setSocketOptions, setUserCodeDeploymentConfig, setUserContext
public ClientClasspathYamlConfig(String resource)
resource
- the resource, an YAML configuration file from the classpathIllegalArgumentException
- if the resource could not be foundHazelcastException
- if the YAML content is invalidpublic ClientClasspathYamlConfig(String resource, Properties properties)
resource
- the resource, an YAML configuration file from the classpathproperties
- the Properties to resolve variables in the YAMLIllegalArgumentException
- if the resource could not be found or if properties is null
HazelcastException
- if the YAML content is invalidpublic ClientClasspathYamlConfig(ClassLoader classLoader, String resource, Properties properties)
classLoader
- the ClassLoader used to load the resourceresource
- the resource, an YAML configuration file from the classpathproperties
- the properties used to resolve variables in the YAMLIllegalArgumentException
- if classLoader or resource is null
, or if the resource is not foundHazelcastException
- if the YAML content is invalidCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.