Class ZooKeeperClient.ZkRetryRunnable

  • All Implemented Interfaces:
    Enclosing class:

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

      Modifier and Type Field Description
      (package private) rateLimiter  
      (package private) java.lang.Runnable that  
      (package private) ZooWorker worker  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      (package private) abstract void zkRun()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • rateLimiter

        final rateLimiter
      • that

        final java.lang.Runnable that
    • Constructor Detail

      • ZkRetryRunnable

        ZkRetryRunnable​(RetryPolicy retryPolicy,
                        OpStatsLogger statsLogger)
    • Method Detail

      • run

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

        abstract void zkRun()