Class PostponingTimer

  • All Implemented Interfaces:
    Timer, java.lang.Runnable

    public class PostponingTimer
    extends java.lang.Object
    implements Timer
    • Constructor Detail

      • PostponingTimer

        public PostponingTimer​(int delay)
    • Method Detail

      • run

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

        public void restart()
        Specified by:
        restart in interface Timer
      • isScheduled

        public boolean isScheduled()
        Specified by:
        isScheduled in interface Timer
      • stop

        public void stop()
        Specified by:
        stop in interface Timer
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object