Class LeaderTask

    • Constructor Summary

      Constructors 
      Constructor Description
      LeaderTask()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cleanup()
      Any cleanup that needs to be performed when this task is stopped due to leadership being revoked.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Runnable

        run
    • Constructor Detail

      • LeaderTask

        public LeaderTask()
    • Method Detail

      • cleanup

        public void cleanup()
        Any cleanup that needs to be performed when this task is stopped due to leadership being revoked.