@Beta public final class ClientAltoConfig extends Object
Alto is the next generation Hazelcast that uses thread-per-core model.
Alto-aware clients will maintain connections to all cores of all cluster members. The client will route partition-specific invocations to the correct core of the correct member in the best effort basis.
| Constructor and Description |
|---|
ClientAltoConfig() |
ClientAltoConfig(ClientAltoConfig altoConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isEnabled()
Returns if the Alto-aware mode is enabled.
|
ClientAltoConfig |
setEnabled(boolean enabled)
Enables or disables the Alto-aware mode.
|
String |
toString() |
public ClientAltoConfig()
public ClientAltoConfig(@Nonnull ClientAltoConfig altoConfig)
public boolean isEnabled()
true if the Alto-aware mode is enabled, false otherwise.public ClientAltoConfig setEnabled(boolean enabled)
When enabled, the configuration option set by the
ClientNetworkConfig.setSmartRouting(boolean) is ignored.
enabled - flag to enable or disable Alto-aware modeCopyright © 2023 Hazelcast, Inc.. All rights reserved.