Package | Description |
---|---|
com.hazelcast.client.config |
Contains classes related to config for com.hazelcast.client
|
Modifier and Type | Method and Description |
---|---|
ConnectionRetryConfig |
ClientConnectionStrategyConfig.getConnectionRetryConfig()
Connection Retry Config is controls the period among the retries and when should a client gave up
retrying.
|
ConnectionRetryConfig |
ConnectionRetryConfig.setEnabled(boolean enabled)
enables connection retry logic.
|
ConnectionRetryConfig |
ConnectionRetryConfig.setFailOnMaxBackoff(boolean failOnMaxBackoff) |
ConnectionRetryConfig |
ConnectionRetryConfig.setInitialBackoffMillis(int initialBackoffMillis) |
ConnectionRetryConfig |
ConnectionRetryConfig.setJitter(double jitter)
At each iteration calculated back-off is randomized via following method
Random(-jitter * current_backoff, jitter * current_backoff)
|
ConnectionRetryConfig |
ConnectionRetryConfig.setMaxBackoffMillis(int maxBackoffMillis)
When backoff reaches this upper bound, it does not increase any more.
|
ConnectionRetryConfig |
ConnectionRetryConfig.setMultiplier(double multiplier) |
Modifier and Type | Method and Description |
---|---|
ClientConnectionStrategyConfig |
ClientConnectionStrategyConfig.setConnectionRetryConfig(ConnectionRetryConfig connectionRetryConfig)
Connection Retry Config is controls the period among the retries and when should a client gave up
retrying.
|
Constructor and Description |
---|
ConnectionRetryConfig(ConnectionRetryConfig connectionRetryConfig) |
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.