public final class ScheduledTask extends ObjectSE
| 修飾子と型 | メソッドと説明 |
|---|---|
void | cancel() このスケジュールされたタスクのキャンセルをトリガーします。 |
void | cancel(boolean mayInterruptIfRunning) このスケジュールされたタスクのキャンセルをトリガーします。 |
Task | getTask() |
StringSE | toString() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic Task getTask()
public void cancel()
このバリアントは、まだ実行中の場合、タスクの中断を強制します。
cancel(boolean)public void cancel(boolean mayInterruptIfRunning)
mayInterruptIfRunning - まだ実行中の場合にタスクの中断を強制するかどうか (タスクを完了できるように false を指定します)Future.cancel(boolean)SEpublic StringSE toString()
ObjectSE の toStringSE