Class ScheduledFunction


  • public class ScheduledFunction
    extends java.lang.Object
    Since:
    2018-02-20
    • Constructor Summary

      Constructors 
      Constructor Description
      ScheduledFunction​(java.lang.Runnable func, long delay)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getDelay()  
      void setDelay​(long delay)  
      void start()  
      void stop()  
      • Methods inherited from class java.lang.Object

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

      • ScheduledFunction

        public ScheduledFunction​(java.lang.Runnable func,
                                 long delay)
    • Method Detail

      • start

        public void start()
      • stop

        public void stop()
      • getDelay

        public long getDelay()
      • setDelay

        public void setDelay​(long delay)