Class DeadMansSwitch

    • Method Summary

      Modifier and Type Method Description
      Handle addOnDeceaseListener​(java.lang.Runnable runnable)  
      void close()  
      static DeadMansSwitch create​(Scheduler scheduler, int rateMs)  
      void keepAlive()  
      • Methods inherited from class java.lang.Object

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

      • addOnDeceaseListener

        public Handle addOnDeceaseListener​(java.lang.Runnable runnable)
      • keepAlive

        public void keepAlive()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface NotThrowingAutoCloseable