Class STABLE.StableTask

  • All Implemented Interfaces:
    java.lang.Runnable, TimeScheduler.Task
    Enclosing class:
    STABLE

    protected class STABLE.StableTask
    extends java.lang.Object
    implements TimeScheduler.Task
    Mcast periodic STABLE message. Interval between sends varies.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected StableTask()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long nextInterval()  
      void run()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • StableTask

        protected StableTask()
    • Method Detail

      • nextInterval

        public long nextInterval()
        Specified by:
        nextInterval in interface TimeScheduler.Task
        Returns:
        the next scheduled interval in ms. If <= 0 the task will not be re-scheduled
      • run

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

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