private class HashedTimeoutPriorityQueueImpl.TimeoutExtImpl extends java.lang.Object implements TimeoutExt
| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
DONE
Done
|
(package private) int |
index
Index in the queue
|
(package private) HashedTimeoutPriorityQueueImpl.InternalPriorityQueue |
queue
The internal priority queue
|
(package private) TimeoutTarget |
target
The timeout target
|
(package private) long |
time
Time of the timeout
|
(package private) static int |
TIMEOUT
In timeout
|
(package private) static int |
TOP
Top
|
| Modifier | Constructor and Description |
|---|---|
private |
TimeoutExtImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Cancel this timeout.
|
void |
done()
Mark the work as done
|
long |
getTime() |
TimeoutTarget |
getTimeoutTarget()
Get the target of this timeout
|
static final int TOP
static final int DONE
static final int TIMEOUT
HashedTimeoutPriorityQueueImpl.InternalPriorityQueue queue
int index
long time
TimeoutTarget target
public long getTime()
getTime in interface TimeoutExtpublic TimeoutTarget getTimeoutTarget()
TimeoutExtgetTimeoutTarget in interface TimeoutExtpublic void done()
TimeoutExtdone in interface TimeoutExtpublic boolean cancel()
Timeout