Class PulseRunnable

java.lang.Object
org.apache.drill.yarn.appMaster.PulseRunnable
All Implemented Interfaces:
Runnable

public class PulseRunnable extends Object implements Runnable
Clock driver that calls a callback once each pulse period. Used to react to time-based events such as timeouts, checking for changed files, etc. This is called a "pulse" because it is periodic, like your pulse. But, unlike the "heartbeat" between the AM and YARN or the AM and ZK, this is purely internal.
  • Field Details

  • Constructor Details

  • Method Details

    • run

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

      public void stop()