public class TimerTaskEntry extends Object implements Comparable<TimerTaskEntry>
| Modifier and Type | Field and Description |
|---|---|
protected TimerTaskEntry |
next |
protected TimerTaskEntry |
prev |
| Constructor and Description |
|---|
TimerTaskEntry(TimerTask timerTask,
long expirationMs)
构造器
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancelled() |
int |
compareTo(TimerTaskEntry that) |
long |
getExpirationMs() |
org.tio.utils.timer.TimerTaskList |
getList() |
TimerTask |
getTimerTask() |
void |
remove() |
void |
setList(org.tio.utils.timer.TimerTaskList list) |
protected TimerTaskEntry next
protected TimerTaskEntry prev
public TimerTaskEntry(TimerTask timerTask, long expirationMs)
timerTask - 定时任务expirationMs - 到期时间public boolean cancelled()
public void remove()
public int compareTo(TimerTaskEntry that)
compareTo in interface Comparable<TimerTaskEntry>public long getExpirationMs()
public TimerTask getTimerTask()
public org.tio.utils.timer.TimerTaskList getList()
public void setList(org.tio.utils.timer.TimerTaskList list)
Copyright © 2025. All rights reserved.