|Modifier and Type||Method and Description|
Attempts to cancel further scheduling of this task.
Used to destroy the instance of the
Returns the scheduled future resource handler.
Returns the statistics and time measurement info of the execution of this scheduled future in the
ScheduledTaskHandler, a resource handler for this scheduled future.
IScheduledExecutorServiceit was scheduled.
ScheduledTaskStatistics, holding all stas and measurements
IScheduledFuturein the scheduled executor. Once the instance is destroyed, any subsequent action on the
IScheduledFuturewill fail with an
IllegalStateExceptionAttempting to re-create the
getHandler()will succeed, but any subsequent access on that new future, will also fail with
boolean cancel(boolean mayInterruptIfRunning)
cancelis called, this task should never run.
Warning: This cancel will not attempt to interrupt the running thread if the task is already in progress, will just cancel further scheduling.
Copyright © 2020 Hazelcast, Inc.. All rights reserved.