Class WakeupManager.Ticket
java.lang.Object
com.sun.jini.thread.WakeupManager.Ticket
- All Implemented Interfaces:
Comparable
- Enclosing class:
WakeupManager
A ticket that can be used for cancelling a future task. It describes the task itself as
well. The
WakeupManager.newTicket method can be used by
subclasses of WakeupManager to create new Ticket instances.- Author:
- Sun Microsystems, Inc.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal WakeupManager.ThreadDescTheThreadDesc, ornullif none.final RunnableThe task object to be executedfinal longWhen the task should occur. -
Method Summary
-
Field Details
-
when
public final long whenWhen the task should occur. -
task
The task object to be executed -
desc
TheThreadDesc, ornullif none.
-
-
Method Details
-
toString
-
equals
-
hashCode
-
compareTo
- Specified by:
compareToin interfaceComparable
-