Package | Description |
---|---|
com.hazelcast.client |
Contains classes/interfaces related to Client
|
com.hazelcast.client.config |
Contains classes related to config for com.hazelcast.client
|
Modifier and Type | Method and Description |
---|---|
static HazelcastInstance |
HazelcastClient.newHazelcastFailoverClient(ClientFailoverConfig clientFailoverConfig)
Creates a client with cluster switch capability.
|
Modifier and Type | Class and Description |
---|---|
class |
ClientFailoverClasspathXmlConfig
A
ClientFailoverConfig which is initialized by loading an XML
configuration file from the classpath. |
class |
ClientFailoverClasspathYamlConfig
A
ClientFailoverConfig which is initialized by loading a YAML
configuration file from the classpath. |
Modifier and Type | Method and Description |
---|---|
ClientFailoverConfig |
ClientFailoverConfig.addClientConfig(ClientConfig clientConfig)
Adds the client config to the end of the alternative client configurations list.
|
ClientFailoverConfig |
XmlClientFailoverConfigBuilder.build() |
ClientFailoverConfig |
YamlClientFailoverConfigBuilder.build() |
ClientFailoverConfig |
XmlClientFailoverConfigBuilder.build(ClientFailoverConfig clientFailoverConfig) |
static ClientFailoverConfig |
ClientFailoverConfig.load()
Populates Hazelcast
ClientFailoverConfig object from an external configuration file. |
ClientFailoverConfig |
ClientFailoverConfig.setClientConfigs(List<ClientConfig> clientConfigs)
Sets the configured list of alternative client configurations.
|
ClientFailoverConfig |
ClientFailoverConfig.setTryCount(int tryCount)
Sets the count of attempts to connect to a cluster.
|
Modifier and Type | Method and Description |
---|---|
ClientFailoverConfig |
XmlClientFailoverConfigBuilder.build(ClientFailoverConfig clientFailoverConfig) |
Copyright © 2021 Hazelcast, Inc.. All rights reserved.