All Classes and Interfaces
Class
Description
Utility class to allow execution of logic once a ZooKeeper connection becomes available.
Debugging stats about operations
Abstracts a value returned from one of the Atomics
Utility - a queue consumer that provides behavior similar to a
BlockingQueueUses an
DistributedAtomicNumber and allocates values in chunks for better performanceUses an
DistributedAtomicNumber and allocates values in chunks for better performanceWhen thrown from
ConnectionStateListener.stateChanged(CuratorFramework, ConnectionState), will
cause LeaderSelector.interruptLeadership() to get called.
A utility that attempts to keep the data from a node locally cached.
cache build options
Methods to access the underlying storage
A facade that uses
CuratorCache if
persistent watches are available or a TreeCache
otherwiseListener for
CuratorCache events.An enumerated type that describes a change
Interface for maintaining data in a
CuratorCacheDefault TreeCache selector - returns true for all methods
A counter that attempts atomic increments.
A counter that attempts atomic increments.
A distributed value that attempts atomic sets.
A barrier as described in the ZK recipes.
A variation of the DistributedPriorityQueue that uses time as the priority.
A double barrier as described in the ZK recipes.
A version of
DistributedQueue that allows IDs to be associated with queue items.An implementation of the Distributed Priority Queue ZK recipe.
An implementation of the Distributed Queue ZK recipe.
Used when the queue is created with a
QueueBuilder.lockPath(String).Group membership management.
Exception to alert overflowed
Stat.getVersion() -1 which is not suitable in
SharedValue.trySetValue(VersionedValue, byte[]) and SharedCount.trySetCount(VersionedValue, int).NOTE: depending on its implementation,
InterProcessLock.release() may throw an exception if the current thread does not own the lockA container that manages multiple locks as a single entity.
A re-entrant mutex that works across JVMs.
A re-entrant read/write mutex that works across JVMs.
Deprecated.
A NON re-entrant mutex that works across JVMs.
A counting semaphore that works across JVMs.
Abstraction to select a "leader" amongst multiple contenders in a group of JVMs connected to
a Zookeeper cluster.
How to handle listeners when the latch is closed
A LeaderLatchListener can be used to be notified asynchronously about when the state of the LeaderLatch has changed.
Abstraction to select a "leader" amongst multiple contenders in a group of JMVs connected
to a Zookeeper cluster.
Notification for leadership
An implementation of
LeaderSelectorListener that adds the recommended handling
for connection state problemsRepresents an acquired lease from an
InterProcessSemaphore.
Utility for safely acquiring a lock and releasing it using Java 7's
try-with-resource feature.
Abstraction for multiple items.
Deprecated.
replace by
CuratorCacheDescribes a participant in a leadership selection
Deprecated.
replace by
CuratorCacheMethod of priming cache on
PathChildrenCache.start(StartMode)POJO that abstracts a change to a path
Type of change
Listener for PathChildrenCache changes
Deprecated.
no longer used.
Deprecated.
This has been replaced with the more general
PersistentNodeDeprecated.
This has been replaced with the more general
PersistentNode
A persistent node is a node that attempts to stay present in
ZooKeeper, even through connection and session interruptions.
Listener for changes to a PersistentNode
Manages a
PersistentNode that uses CreateMode.CONTAINER.A managed persistent watcher.
Abstraction of arguments for mutex promotion.
The builder for both
DistributedQueue and DistributedPriorityQueueMessage Consumer
Queue puts are done in the background.
Parameter block for specifying queue safety with either
DistributedQueue or
DistributedPriorityQueueHelper to serialize/deserialize queue items
A utility for shard a distributed queue.
Various policies/options for sharding.
Specifies locks that can be revoked
Manages a shared integer.
Listener for changes to a shared count
Abstracts a shared integer and allows listening for changes to its value
Manages a shared value.
Listener for changes to a shared value
Abstracts a shared value and allows listening for changes to the value
Drop in replacement for: org.apache.zookeeper.recipes.queue.DistributedQueue that is part of
the ZooKeeper distribution
Deprecated.
replace by
CuratorCachePOJO that abstracts a change to a path
Type of change
Listener for
TreeCache changes
Controls which nodes a TreeCache processes.
POJO for versioned value.
InterProcessSemaphoreV2instead of this class.