Interface TinyTaskExecService
-
- All Implemented Interfaces:
public interface TinyTaskExecServiceLaunch and cancel tasks, global management, same id can only be started once
- Since:
2022-12-16
trydofor
-
-
Method Summary
-
-
Method Detail
-
launch
abstract boolean launch(long id)
launch a task
-
force
abstract boolean force(long id)
Force launch a task without scheduling
-
cancel
abstract boolean cancel(long id)
Cancel a task. If the task does not exist, consider it as successful. When the application restarts or relaunches, the task should be restored.
-
-
-
-