public interface TimeoutChecker<T extends TimeoutEndpoint> extends Runnable, Closeable
Modifier and Type | Method and Description |
---|---|
void |
addTask(T task)
添加任务
|
void |
clear()
清空全部任务
|
List<T> |
getTasks()
获取全部任务
|
boolean |
isEmpty()
任务是否为空
|
boolean |
isRun()
是否运行中
|
Copyright © 2024. All rights reserved.