public static class WakeupManager.Ticket extends Object implements Comparable<WakeupManager.Ticket>
WakeupManager.newTicket method
can be used by subclasses of WakeupManager to
create new Ticket instances.| Modifier and Type | Field and Description |
|---|---|
WakeupManager.ThreadDesc |
desc
The
ThreadDesc, or null if none. |
Runnable |
task
The task object to be executed
|
long |
when
When the task should occur.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(WakeupManager.Ticket o) |
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
public final long when
public final Runnable task
public final WakeupManager.ThreadDesc desc
ThreadDesc, or null if none.public int compareTo(WakeupManager.Ticket o)
compareTo in interface Comparable<WakeupManager.Ticket>Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.