public final class FailoverClientConfigSupport extends Object
Modifier and Type | Method and Description |
---|---|
static ClientFailoverConfig |
resolveClientConfig()
Creates ClientFailoverConfig is created which is equivalent of single client config.
|
static ClientFailoverConfig |
resolveClientConfig(ClientConfig config)
Returns a ClientFailoverConfig with single client config.
|
static ClientFailoverConfig |
resolveClientConfig(ClientFailoverConfig clientFailoverConfig)
If clientFailoverConfig passed null, then we try to load config via system property.
|
public static ClientFailoverConfig resolveClientConfig(ClientFailoverConfig clientFailoverConfig)
clientFailoverConfig
- provided via HazelcastClient.newHazelcastClient(ClientFailoverConfig config)InvalidConfigurationException
- when given config is not validpublic static ClientFailoverConfig resolveClientConfig(ClientConfig config)
config
- provided via HazelcastClient.newHazelcastClient(ClientConfig config)InvalidConfigurationException
- when given config is not validpublic static ClientFailoverConfig resolveClientConfig()
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.