Class ReminderTask
java.lang.Object
com.nt.udc.testnodechain.timeout.tasks.ReminderTask
- All Implemented Interfaces:
TaskIfc<ReminderTask>
,Comparable<Delayed>
,Delayed
Represents a Reminder task that can be inserted into a DelayQueue and becomes
available 'x' duration before the TimeoutTask that it is a reminder for.
This class is used to create a reminder task event for the underlying TimeoutTask.
-
Field Summary
Fields inherited from interface com.nt.udc.testnodechain.timeout.tasks.interfaces.TaskIfc
TIME_UNIT_USED
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ReminderTask
-
-
Method Details
-
getTestId
- Specified by:
getTestId
in interfaceTaskIfc<ReminderTask>
-
clone
- Specified by:
clone
in interfaceTaskIfc<ReminderTask>
- Overrides:
clone
in classObject
-
getDelay
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Delayed>
-
toString
-