public static enum ClientConnectionStrategyConfig.ReconnectMode extends Enum<ClientConnectionStrategyConfig.ReconnectMode>
Enum Constant and Description |
---|
ASYNC
Reconnect to cluster without blocking invocations.
|
OFF
Prevent reconnect to cluster after a disconnect
|
ON
Reconnect to cluster by blocking invocations
|
Modifier and Type | Method and Description |
---|---|
static ClientConnectionStrategyConfig.ReconnectMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientConnectionStrategyConfig.ReconnectMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientConnectionStrategyConfig.ReconnectMode OFF
public static final ClientConnectionStrategyConfig.ReconnectMode ON
public static final ClientConnectionStrategyConfig.ReconnectMode ASYNC
HazelcastClientOfflineException
public static ClientConnectionStrategyConfig.ReconnectMode[] values()
for (ClientConnectionStrategyConfig.ReconnectMode c : ClientConnectionStrategyConfig.ReconnectMode.values()) System.out.println(c);
public static ClientConnectionStrategyConfig.ReconnectMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.