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.impl.clientside |
Contains most of the client side HazelcastInstance implementation functionality.
|
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) |
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) |
ClientFailoverConfig |
ClientFailoverConfig.setTryCount(int tryCount) |
Modifier and Type | Method and Description |
---|---|
ClientFailoverConfig |
XmlClientFailoverConfigBuilder.build(ClientFailoverConfig clientFailoverConfig) |
Modifier and Type | Method and Description |
---|---|
ClientFailoverConfig |
HazelcastClientInstanceImpl.getFailoverConfig() |
static ClientFailoverConfig |
FailoverClientConfigSupport.resolveClientFailoverConfig()
Loads failover configuration using the search logic described in
HazelcastClient.newHazelcastFailoverClient() and builds
ClientFailoverConfig . |
static ClientFailoverConfig |
FailoverClientConfigSupport.resolveClientFailoverConfig(ClientFailoverConfig clientFailoverConfig)
If
clientFailoverConfig passed null , then loads
failover configuration using the search logic described in
HazelcastClient.newHazelcastFailoverClient() and builds
ClientFailoverConfig . |
Modifier and Type | Method and Description |
---|---|
static ClientFailoverConfig |
FailoverClientConfigSupport.resolveClientFailoverConfig(ClientFailoverConfig clientFailoverConfig)
If
clientFailoverConfig passed null , then loads
failover configuration using the search logic described in
HazelcastClient.newHazelcastFailoverClient() and builds
ClientFailoverConfig . |
Constructor and Description |
---|
HazelcastClientInstanceImpl(String instanceName,
ClientConfig clientConfig,
ClientFailoverConfig clientFailoverConfig,
ClientConnectionManagerFactory clientConnectionManagerFactory,
AddressProvider externalAddressProvider) |
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.