Package org.apache.bookkeeper.zookeeper
A simple retryable zookeeper wrapper provided in bookkeeper.
-
Interface Summary Interface Description RetryPolicy Interface of the policy to use when retrying operations.ZooWorker.ZooCallable<T> -
Class Summary Class Description BoundExponentialBackoffRetryPolicy Retry policy that retries a set number of times with an increasing (up to a maximum bound) backoff time between retries.ExponentialBackoffRetryPolicy A retry policy implementation that backoff retries exponentially.ExponentialBackOffWithDeadlinePolicy Backoff time determined based as a multiple of baseBackoffTime.ZooKeeperClient Provide a zookeeper client to handle session expire.ZooKeeperClient.Builder A builder to build retryable zookeeper client.ZooKeeperClient.ZkRetryRunnable A runnable that retries zookeeper operations.ZooKeeperWatcherBase Watcher for receiving zookeeper server connection events.ZooWorker Provide a mechanism to perform an operation on ZooKeeper that is safe on disconnections and recoverable errors.