| Package | Description |
|---|---|
| org.apache.curator | |
| org.apache.curator.ensemble.exhibitor | |
| org.apache.curator.retry |
| Modifier and Type | Method | Description |
|---|---|---|
RetryPolicy |
CuratorZookeeperClient.getRetryPolicy() |
Return the current retry policy
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
CuratorZookeeperClient.setRetryPolicy(RetryPolicy policy) |
Change the retry policy
|
| Constructor | Description |
|---|---|
CuratorZookeeperClient(java.lang.String connectString,
int sessionTimeoutMs,
int connectionTimeoutMs,
org.apache.zookeeper.Watcher watcher,
RetryPolicy retryPolicy) |
|
CuratorZookeeperClient(EnsembleProvider ensembleProvider,
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) |
|
CuratorZookeeperClient(ZookeeperFactory zookeeperFactory,
EnsembleProvider ensembleProvider,
int sessionTimeoutMs,
int connectionTimeoutMs,
org.apache.zookeeper.Watcher watcher,
RetryPolicy retryPolicy,
boolean canBeReadOnly,
ConnectionHandlingPolicy connectionHandlingPolicy) |
| Constructor | Description |
|---|---|
ExhibitorEnsembleProvider(Exhibitors exhibitors,
ExhibitorRestClient restClient,
java.lang.String restUriPath,
int pollingMs,
RetryPolicy retryPolicy) |
| Modifier and Type | Class | 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–2018 The Apache Software Foundation. All rights reserved.