类 ScheduledTask
java.lang.Object
cn.taketoday.scheduling.config.ScheduledTask
A representation of a scheduled task at runtime,
used as a return value for scheduling methods.
-
方法详细资料
-
getTask
-
cancel
public void cancel()Trigger cancellation of this scheduled task.This variant will force interruption of the task if still running.
- 另请参阅:
-
cancel
public void cancel(boolean mayInterruptIfRunning) Trigger cancellation of this scheduled task.- 参数:
mayInterruptIfRunning- whether to force interruption of the task if still running (specifyfalseto allow the task to complete)- 另请参阅:
-
toString
-