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()  
    • 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
      • computeSleepTime

        long computeSleepTime()