Class ZooKeeperClient.ZkRetryRunnable

java.lang.Object
org.apache.bookkeeper.zookeeper.ZooKeeperClient.ZkRetryRunnable
All Implemented Interfaces:
Runnable
Enclosing class:
ZooKeeperClient

abstract static class ZooKeeperClient.ZkRetryRunnable extends Object implements Runnable
A runnable that retries zookeeper operations.
  • Field Details

    • worker

      final ZooWorker worker
    • rateLimiter

      final com.google.common.util.concurrent.RateLimiter rateLimiter
    • that

      final Runnable that
  • Constructor Details

    • ZkRetryRunnable

      ZkRetryRunnable(RetryPolicy retryPolicy, com.google.common.util.concurrent.RateLimiter rateLimiter, OpStatsLogger statsLogger)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • zkRun

      abstract void zkRun()