|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sun.jini.thread.WakeupManager.Ticket
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.
| Field Summary | |
WakeupManager.ThreadDesc |
desc
The ThreadDesc, or null if none. |
Runnable |
task
The task object to be executed |
long |
when
When the task should occur. |
| Method Summary | |
int |
compareTo(Object o)
|
boolean |
equals(Object o)
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public final long when
public final Runnable task
public final WakeupManager.ThreadDesc desc
ThreadDesc, or null if none.
| Method Detail |
public String toString()
public boolean equals(Object o)
public int hashCode()
public int compareTo(Object o)
compareTo in interface Comparable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||