Class Retransmitter.Task

java.lang.Object
org.jgroups.stack.Retransmitter.Task
All Implemented Interfaces:
Runnable, TimeScheduler.Task
Direct Known Subclasses:
DefaultRetransmitter.SeqnoTask, RangeBasedRetransmitter.RangeTask
Enclosing class:
Retransmitter

protected abstract class Retransmitter.Task extends Object implements TimeScheduler.Task
  • Field Details

    • intervals

      protected final Interval intervals
    • future

      protected volatile Future future
    • msg_sender

      protected Address msg_sender
    • num_retransmits

      protected int num_retransmits
    • command

    • cancelled

      protected volatile boolean cancelled
  • Constructor Details

  • Method Details

    • getNumRetransmits

      public int getNumRetransmits()
    • nextInterval

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

      public void doSchedule()
    • cancel

      public void cancel()
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • callRetransmissionCommand

      protected abstract void callRetransmissionCommand()