Index
All Classes and Interfaces|All Packages
A
- await() - Method in interface cool.scx.timer.TaskHandle
-
同步等待任务完成, 并返回结果
C
- cancel() - Method in interface cool.scx.timer.TaskHandle
-
取消任务, 仅会取消还未执行的任务
- CANCELLED - Enum constant in enum class cool.scx.timer.TaskStatus
-
已取消
- cool.scx.timer - package cool.scx.timer
E
- exception() - Method in interface cool.scx.timer.TaskHandle
-
获取 异常, 仅在任务执行失败后可用
F
- FAILED - Enum constant in enum class cool.scx.timer.TaskStatus
-
执行失败
P
- PENDING - Enum constant in enum class cool.scx.timer.TaskStatus
-
已提交, 等待执行
R
- result() - Method in interface cool.scx.timer.TaskHandle
-
获取 结果, 仅在任务执行成功后可用
- runAfter(ScxCallable<V, E>, long, TimeUnit) - Method in class cool.scx.timer.ScheduledExecutorTimer
- runAfter(ScxCallable<V, E>, long, TimeUnit) - Method in interface cool.scx.timer.ScxTimer
- runAfter(ScxRunnable<E>, long, TimeUnit) - Method in class cool.scx.timer.ScheduledExecutorTimer
- runAfter(ScxRunnable<E>, long, TimeUnit) - Method in interface cool.scx.timer.ScxTimer
- RUNNING - Enum constant in enum class cool.scx.timer.TaskStatus
-
正在执行
S
- ScheduledExecutorTimer - Class in cool.scx.timer
-
ScheduledExecutorTimer
- ScheduledExecutorTimer(ScheduledExecutorService) - Constructor for class cool.scx.timer.ScheduledExecutorTimer
- ScxTimer - Interface in cool.scx.timer
-
ScxTimer
- status() - Method in interface cool.scx.timer.TaskHandle
-
状态
- SUCCESS - Enum constant in enum class cool.scx.timer.TaskStatus
-
执行成功
T
- TaskHandle<V,
E> - Interface in cool.scx.timer -
TaskHandle
- TaskStatus - Enum Class in cool.scx.timer
-
TaskStatus
V
- valueOf(String) - Static method in enum class cool.scx.timer.TaskStatus
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cool.scx.timer.TaskStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages