public interface TimerTaskService
| Modifier and Type | Method and Description |
|---|---|
<T extends TimerTask> |
add(T timerTask)
添加 ack 任务
|
<T extends TimerTask> |
addTask(Function<SystemTimer,T> consumer)
添加 ack 任务
|
void |
start()
启动
|
void |
stop()
停止
|
<T extends TimerTask> T add(T timerTask)
T - 泛型timerTask - timerTask<T extends TimerTask> T addTask(Function<SystemTimer,T> consumer)
T - 泛型consumer - timerTask consumervoid start()
void stop()
Copyright © 2025. All rights reserved.