- schedule(Runnable, long, TimeUnit) - Method in class org.apache.curator.utils.CloseableScheduledExecutorService
-
Creates and executes a one-shot action that becomes enabled
after the given delay.
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.apache.curator.utils.CloseableScheduledExecutorService
-
Creates and executes a periodic action that becomes enabled first
after the given initial delay, and subsequently with the
given delay between the termination of one execution and the
commencement of the next.
- SessionFailRetryLoop - Class in org.apache.curator
-
See
RetryLoop
for the main details on retry loops.
- SessionFailRetryLoop.Mode - Enum in org.apache.curator
-
- SessionFailRetryLoop.SessionFailedException - Exception in org.apache.curator
-
- SessionFailRetryLoop.SessionFailedException() - Constructor for exception org.apache.curator.SessionFailRetryLoop.SessionFailedException
-
- setExhibitors(Exhibitors) - Method in class org.apache.curator.ensemble.exhibitor.ExhibitorEnsembleProvider
-
Change the set of exhibitors to poll
- setRetryPolicy(RetryPolicy) - Method in class org.apache.curator.CuratorZookeeperClient
-
Change the retry policy
- setTracerDriver(TracerDriver) - Method in class org.apache.curator.CuratorZookeeperClient
-
Change the tracing driver
- shouldContinue() - Method in class org.apache.curator.RetryLoop
-
If true is returned, make an attempt at the operation
- shouldContinue() - Method in class org.apache.curator.SessionFailRetryLoop
-
If true is returned, make an attempt at the set of operations
- shouldRetry(int) - Static method in class org.apache.curator.RetryLoop
-
Utility - return true if the given Zookeeper result code is retry-able
- sleepFor(long, TimeUnit) - Method in interface org.apache.curator.RetrySleeper
-
Sleep for the given time
- start() - Method in class org.apache.curator.CuratorZookeeperClient
-
Must be called after construction
- start() - Method in interface org.apache.curator.ensemble.EnsembleProvider
-
- start() - Method in class org.apache.curator.ensemble.exhibitor.ExhibitorEnsembleProvider
-
- start() - Method in class org.apache.curator.ensemble.fixed.FixedEnsembleProvider
-
- start() - Method in class org.apache.curator.SessionFailRetryLoop
-
SessionFailRetryLoop must be started
- startTracer(String) - Method in class org.apache.curator.CuratorZookeeperClient
-
Start a new tracer
- submit(Callable<V>) - Method in class org.apache.curator.utils.CloseableExecutorService
-
Submits a value-returning task for execution and returns a Future
representing the pending results of the task.
- submit(Runnable) - Method in class org.apache.curator.utils.CloseableExecutorService
-
Submits a Runnable task for execution and returns a Future
representing that task.