Maintains a connection to ZooKeeper.
Maintains a connection to ZooKeeper.
Default: Creator access
Get a connected ZooKeeper handle
Build a ZNode handle using this ZkClient.
Default: create persistent nodes
Attach a listener to receive session events
Release the connection
Default: fail without retrying
Use the current retry policy to perform an operation with a ZooKeeper handle.
Create a new ZkClient, possibly overriding configuration.
Create a new ZkClient, possibly overriding configuration.
Build a ZkClient with another default creation ACL.
Build a ZkClient with another default creation mode.
Get a ZkClient with a basic retry policy.
Get a ZkClient with another retry policy.
An Asynchronous ZooKeeper Client API.
A ZkClient instance is configured with settings and defaults (like a retry policy) and is attached to underlying Connector. This allows new, immutable ZkClient instances to be created with alternative settings on the same underlying Connector.