Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
I
M
N
R
S
T
Z
A
addCount(String, int)
- Method in interface com.netflix.curator.drivers.
TracerDriver
Add to a named counter
addCount(String, int)
- Method in class com.netflix.curator.utils.
DefaultTracerDriver
addTrace(String, long, TimeUnit)
- Method in interface com.netflix.curator.drivers.
TracerDriver
Record the given trace event
addTrace(String, long, TimeUnit)
- Method in class com.netflix.curator.utils.
DefaultTracerDriver
allowRetry(int, long)
- Method in class com.netflix.curator.retry.
RetryUntilElapsed
allowRetry(int, long)
- Method in interface com.netflix.curator.
RetryPolicy
Called when an operation has failed for some reason.
B
blockUntilConnectedOrTimedOut()
- Method in class com.netflix.curator.
CuratorZookeeperClient
This method blocks until the connection to ZK succeeds.
C
callWithRetry(CuratorZookeeperClient, Callable<T>)
- Static method in class com.netflix.curator.
RetryLoop
Convenience utility: creates a retry loop calling the given proc and retrying if needed
close()
- Method in class com.netflix.curator.
CuratorZookeeperClient
Close the client
com.netflix.curator
- package com.netflix.curator
com.netflix.curator.drivers
- package com.netflix.curator.drivers
com.netflix.curator.retry
- package com.netflix.curator.retry
com.netflix.curator.utils
- package com.netflix.curator.utils
commit()
- Method in class com.netflix.curator.
TimeTrace
Record the elapsed time
CuratorZookeeperClient
- Class in
com.netflix.curator
A wrapper around Zookeeper that takes care of some low-level housekeeping
CuratorZookeeperClient(String, int, int, Watcher, RetryPolicy)
- Constructor for class com.netflix.curator.
CuratorZookeeperClient
D
DefaultTracerDriver
- Class in
com.netflix.curator.utils
Default tracer driver
DefaultTracerDriver()
- Constructor for class com.netflix.curator.utils.
DefaultTracerDriver
E
ensure(CuratorZookeeperClient)
- Method in class com.netflix.curator.utils.
EnsurePath
First time, synchronizes and makes sure all nodes in the path are created.
EnsurePath
- Class in
com.netflix.curator.utils
Utility to ensure that a particular path is created.
EnsurePath(String)
- Constructor for class com.netflix.curator.utils.
EnsurePath
ExponentialBackoffRetry
- Class in
com.netflix.curator.retry
Retry policy that retries a set number of times with increasing sleep time between retries
ExponentialBackoffRetry(int, int)
- Constructor for class com.netflix.curator.retry.
ExponentialBackoffRetry
F
fixForNamespace(String, String)
- Static method in class com.netflix.curator.utils.
ZKPaths
Apply the namespace to the given path
G
getBaseSleepTimeMs()
- Method in class com.netflix.curator.retry.
ExponentialBackoffRetry
getNode()
- Method in class com.netflix.curator.utils.
ZKPaths.PathAndNode
getNodeFromPath(String)
- Static method in class com.netflix.curator.utils.
ZKPaths
Given a full path, return the node name.
getPath()
- Method in class com.netflix.curator.utils.
ZKPaths.PathAndNode
getPathAndNode(String)
- Static method in class com.netflix.curator.utils.
ZKPaths
Given a full path, return the node name and its path.
getRetryPolicy()
- Method in class com.netflix.curator.
CuratorZookeeperClient
Return the current retry policy
getSleepTimeMs(int, long)
- Method in class com.netflix.curator.retry.
ExponentialBackoffRetry
getSleepTimeMs(int, long)
- Method in class com.netflix.curator.retry.
RetryNTimes
getSleepTimeMs(int, long)
- Method in class com.netflix.curator.retry.
RetryUntilElapsed
getSortedChildren(ZooKeeper, String)
- Static method in class com.netflix.curator.utils.
ZKPaths
Return the children of the given path sorted by sequence number
getTracerDriver()
- Method in class com.netflix.curator.
CuratorZookeeperClient
Return the current tracing driver
getZooKeeper()
- Method in class com.netflix.curator.
CuratorZookeeperClient
Return the managed ZK instance.
I
isConnected()
- Method in class com.netflix.curator.
CuratorZookeeperClient
Returns true if the client is current connected
isRetryException(Throwable)
- Static method in class com.netflix.curator.
RetryLoop
Utility - return true if the given exception is retry-able
M
makePath(String, String)
- Static method in class com.netflix.curator.utils.
ZKPaths
Given a parent path and a child node, create a combined full path
markComplete()
- Method in class com.netflix.curator.
RetryLoop
Call this when your operation has successfully completed
mkdirs(ZooKeeper, String)
- Static method in class com.netflix.curator.utils.
ZKPaths
Make sure all the nodes in the path are created.
mkdirs(ZooKeeper, String, boolean)
- Static method in class com.netflix.curator.utils.
ZKPaths
Make sure all the nodes in the path are created.
N
newRetryLoop()
- Method in class com.netflix.curator.
CuratorZookeeperClient
Return a new retry loop.
R
RetryLoop
- Class in
com.netflix.curator
Mechanism to perform an operation on Zookeeper that is safe against disconnections and "recoverable" errors.
RetryNTimes
- Class in
com.netflix.curator.retry
Retry policy that retries a max number of times
RetryNTimes(int, int)
- Constructor for class com.netflix.curator.retry.
RetryNTimes
RetryOneTime
- Class in
com.netflix.curator.retry
A retry policy that retries only once
RetryOneTime(int)
- Constructor for class com.netflix.curator.retry.
RetryOneTime
RetryPolicy
- Interface in
com.netflix.curator
Abstracts the policy to use when retrying connections
RetryUntilElapsed
- Class in
com.netflix.curator.retry
A retry policy that retries until a given amount of time elapses
RetryUntilElapsed(int, int)
- Constructor for class com.netflix.curator.retry.
RetryUntilElapsed
S
setRetryPolicy(RetryPolicy)
- Method in class com.netflix.curator.
CuratorZookeeperClient
Change the retry policy
setTracerDriver(TracerDriver)
- Method in class com.netflix.curator.
CuratorZookeeperClient
Change the tracing driver
shouldContinue()
- Method in class com.netflix.curator.
RetryLoop
If true is returned, make an attempt at the operation
shouldRetry(int)
- Static method in class com.netflix.curator.
RetryLoop
Utility - return true if the given Zookeeper result code is retry-able
start()
- Method in class com.netflix.curator.
CuratorZookeeperClient
Must be called after construction
startTracer(String)
- Method in class com.netflix.curator.
CuratorZookeeperClient
Start a new tracer
T
takeException(Exception)
- Method in class com.netflix.curator.
RetryLoop
Pass any caught exceptions here
TimeTrace
- Class in
com.netflix.curator
Utility to time a method or portion of code
TimeTrace(String, TracerDriver)
- Constructor for class com.netflix.curator.
TimeTrace
Create and start a timer
TracerDriver
- Interface in
com.netflix.curator.drivers
Mechanism for timing methods and recording counters
Z
ZKPaths
- Class in
com.netflix.curator.utils
ZKPaths.PathAndNode
- Class in
com.netflix.curator.utils
ZKPaths.PathAndNode(String, String)
- Constructor for class com.netflix.curator.utils.
ZKPaths.PathAndNode
A
B
C
D
E
F
G
I
M
N
R
S
T
Z
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2012. All Rights Reserved.