Package org.apache.bookkeeper.zookeeper
Class ZooKeeperClient.ZkRetryRunnable
- java.lang.Object
-
- org.apache.bookkeeper.zookeeper.ZooKeeperClient.ZkRetryRunnable
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- ZooKeeperClient
abstract static class ZooKeeperClient.ZkRetryRunnable extends java.lang.Object implements java.lang.Runnable
A runnable that retries zookeeper operations.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) com.google.common.util.concurrent.RateLimiter
rateLimiter
(package private) java.lang.Runnable
that
(package private) ZooWorker
worker
-
Constructor Summary
Constructors Constructor Description ZkRetryRunnable(RetryPolicy retryPolicy, com.google.common.util.concurrent.RateLimiter rateLimiter, OpStatsLogger statsLogger)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
run()
(package private) abstract void
zkRun()
-
-
-
Field Detail
-
worker
final ZooWorker worker
-
rateLimiter
final com.google.common.util.concurrent.RateLimiter rateLimiter
-
that
final java.lang.Runnable that
-
-
Constructor Detail
-
ZkRetryRunnable
ZkRetryRunnable(RetryPolicy retryPolicy, com.google.common.util.concurrent.RateLimiter rateLimiter, OpStatsLogger statsLogger)
-
-