ScheduledTaskRegistrar#scheduleCronTask(CronTask), ScheduledTaskRegistrar#scheduleFixedRateTask(FixedRateTask), ScheduledTaskRegistrar#scheduleFixedDelayTask(FixedDelayTask), ScheduledFuture
| Modifier and Type | Field and Description |
|---|---|
| pack-priv volatile ScheduledFuture | |
| private final Task |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | cancel(boolean
whether to force interruption of the task
if still running (specify mayInterruptIfRunning)false to allow the task to complete)Trigger cancellation of this scheduled task. |
| public Task | |
| public String |
| future | back to summary |
|---|---|
| pack-priv volatile ScheduledFuture<?> future
| |
| task | back to summary |
|---|---|
| private final Task task | |
| ScheduledTask | back to summary |
|---|---|
| pack-priv ScheduledTask(Task task) | |
| cancel | back to summary |
|---|---|
| public void cancel() Trigger cancellation of this scheduled task. This variant will force interruption of the task if still running.
| |
| cancel | back to summary |
|---|---|
| public void cancel(boolean mayInterruptIfRunning) Trigger cancellation of this scheduled task.
| |
| getTask | back to summary |
|---|---|
| public Task getTask() Return the underlying task (typically a
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |