| Package | Description |
|---|---|
| org.apache.curator | |
| org.apache.curator.retry |
| Modifier and Type | Class and Description |
|---|---|
class |
SessionFailedRetryPolicy
RetryPolicy implementation that failed on session expired. |
| Modifier and Type | Method and Description |
|---|---|
RetryPolicy |
CuratorZookeeperClient.getRetryPolicy()
Return the current retry policy
|
| Modifier and Type | Method and Description |
|---|---|
void |
CuratorZookeeperClient.setRetryPolicy(RetryPolicy policy)
Change the retry policy
|
| Constructor and Description |
|---|
CuratorZookeeperClient(EnsembleProvider ensembleProvider,
int sessionTimeoutMs,
int connectionTimeoutMs,
org.apache.zookeeper.Watcher watcher,
RetryPolicy retryPolicy) |
CuratorZookeeperClient(String connectString,
int sessionTimeoutMs,
int connectionTimeoutMs,
org.apache.zookeeper.Watcher watcher,
RetryPolicy retryPolicy) |
CuratorZookeeperClient(ZookeeperFactory zookeeperFactory,
EnsembleProvider ensembleProvider,
int sessionTimeoutMs,
int connectionTimeoutMs,
int waitForShutdownTimeoutMs,
org.apache.zookeeper.Watcher watcher,
RetryPolicy retryPolicy,
boolean canBeReadOnly) |
CuratorZookeeperClient(ZookeeperFactory zookeeperFactory,
EnsembleProvider ensembleProvider,
int sessionTimeoutMs,
int connectionTimeoutMs,
org.apache.zookeeper.Watcher watcher,
RetryPolicy retryPolicy,
boolean canBeReadOnly) |
SessionFailedRetryPolicy(RetryPolicy delegatePolicy) |
| Modifier and Type | Class and Description |
|---|---|
class |
BoundedExponentialBackoffRetry
Retry policy that retries a set number of times with an increasing (up to a maximum bound) sleep time between retries
|
class |
ExponentialBackoffRetry
Retry policy that retries a set number of times with increasing sleep time between retries
|
class |
RetryForever
RetryPolicy implementation that always allowsRetry. |
class |
RetryNTimes
Retry policy that retries a max number of times
|
class |
RetryOneTime
A retry policy that retries only once
|
class |
RetryUntilElapsed
A retry policy that retries until a given amount of time elapses
|
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.