Package | Description |
---|---|
org.apache.curator |
Modifier and Type | Method and Description |
---|---|
static SessionFailRetryLoop.Mode |
SessionFailRetryLoop.Mode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionFailRetryLoop.Mode[] |
SessionFailRetryLoop.Mode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
SessionFailRetryLoop.callWithRetry(CuratorZookeeperClient client,
SessionFailRetryLoop.Mode mode,
Callable<T> proc)
Convenience utility: creates a "session fail" retry loop calling the given proc
|
SessionFailRetryLoop |
CuratorZookeeperClient.newSessionFailRetryLoop(SessionFailRetryLoop.Mode mode)
Return a new "session fail" retry loop.
|
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.