Uses of Class
com.hazelcast.client.config.ConnectionRetryConfig
Package
Description
Contains classes related to config for com.hazelcast.client
-
Uses of ConnectionRetryConfig in com.hazelcast.client.config
Modifier and TypeMethodDescriptionClientConnectionStrategyConfig.getConnectionRetryConfig()
Connection Retry Config is controls the period among the retries and when should a client gave up retrying.ConnectionRetryConfig.setClusterConnectTimeoutMillis
(long clusterConnectTimeoutMillis) ConnectionRetryConfig.setInitialBackoffMillis
(int initialBackoffMillis) ConnectionRetryConfig.setJitter
(double jitter) At each iteration calculated back-off is randomized via following method Random(-jitter * current_backoff, jitter * current_backoff)ConnectionRetryConfig.setMaxBackoffMillis
(int maxBackoffMillis) When backoff reaches this upper bound, it does not increase any more.ConnectionRetryConfig.setMultiplier
(double multiplier) Modifier and TypeMethodDescriptionClientConnectionStrategyConfig.setConnectionRetryConfig
(ConnectionRetryConfig connectionRetryConfig) Connection Retry Config is controls the period among the retries and when should a client gave up retrying.