| Package | Description |
|---|---|
| org.apache.curator | |
| org.apache.curator.connection | |
| org.apache.curator.utils |
| Modifier and Type | Method | Description |
|---|---|---|
static <T> T |
RetryLoop.callWithRetry(CuratorZookeeperClient client,
java.util.concurrent.Callable<T> proc) |
Convenience utility: creates a retry loop calling the given proc and retrying if needed
|
static <T> T |
SessionFailRetryLoop.callWithRetry(CuratorZookeeperClient client,
SessionFailRetryLoop.Mode mode,
java.util.concurrent.Callable<T> proc) |
Convenience utility: creates a "session fail" retry loop calling the given proc
|
| Modifier and Type | Method | Description |
|---|---|---|
<T> T |
ConnectionHandlingPolicy.callWithRetry(CuratorZookeeperClient client,
java.util.concurrent.Callable<T> proc) |
Called by
RetryLoop.callWithRetry(CuratorZookeeperClient, Callable) to do the work
of retrying |
<T> T |
StandardConnectionHandlingPolicy.callWithRetry(CuratorZookeeperClient client,
java.util.concurrent.Callable<T> proc) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
EnsurePath.ensure(CuratorZookeeperClient client) |
Deprecated.
First time, synchronizes and makes sure all nodes in the path are created.
|
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.