SchedulePeriodicTimeout

public final class SchedulePeriodicTimeout extends Request

The SchedulePeriodicTimeout class.

Author:Cosmin Arad <cosmin@sics.se>, Jim Dowling <jdowling@sics.se>

Constructors

SchedulePeriodicTimeout

public SchedulePeriodicTimeout(long delay, long period)

Instantiates a new schedule periodic timeout.

Parameters:
  • delay – the delay
  • period – the period

Methods

getDelay

public final long getDelay()

Gets the delay.

Returns:the delay

getPeriod

public final long getPeriod()

Gets the period.

Returns:the period

getTimeoutEvent

public final Timeout getTimeoutEvent()

Gets the timeout event.

Returns:the timeout event

setTimeoutEvent

public final void setTimeoutEvent(Timeout timeout)

Sets the timeout event.

Parameters:
  • timeout – the new timeout event