Package | Description |
---|---|
com.hazelcast.client |
Contains classes/interfaces related to Client
|
com.hazelcast.client.config |
Contains classes related to config for com.hazelcast.client
|
com.hazelcast.client.util |
This package contains some utility classes and the base implementations of the
loadbalancer implementations
|
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 |
YamlClientFailoverConfigBuilder.build() |
ClientFailoverConfig |
XmlClientFailoverConfigBuilder.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) |
Constructor and Description |
---|
ClientStateListener(ClientFailoverConfig clientFailoverConfig)
Registers this instance with the provided client configuration
|
Copyright © 2023 Hazelcast, Inc.. All rights reserved.