| Package | Description |
|---|---|
| org.apache.curator | |
| org.apache.curator.ensemble.exhibitor | |
| org.apache.curator.retry |
| 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,
org.apache.zookeeper.Watcher watcher,
RetryPolicy retryPolicy,
boolean canBeReadOnly) |
| Constructor and Description |
|---|
ExhibitorEnsembleProvider(Exhibitors exhibitors,
ExhibitorRestClient restClient,
String restUriPath,
int pollingMs,
RetryPolicy retryPolicy) |
| 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–2016 The Apache Software Foundation. All rights reserved.