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
|
com.hazelcast.jet |
Hazelcast Jet is a distributed computation engine running on top of
Hazelcast IMDG technology.
|
com.hazelcast.spring.config |
Contains config factory classes.
|
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 that the client iterates over the given list of alternative clusters.
|
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
|
Modifier and Type | Method and Description |
---|---|
static JetInstance |
Jet.newJetFailoverClient(ClientFailoverConfig config)
Deprecated.
since 5.0
Use
HazelcastClient.newHazelcastFailoverClient(ClientFailoverConfig)
and then get JetService from the created HazelcastInstance
client by using HazelcastInstance.getJet() }. |
Modifier and Type | Method and Description |
---|---|
static ClientFailoverConfig |
ConfigFactory.newClientFailoverConfig() |
Copyright © 2023 Hazelcast, Inc.. All rights reserved.