public interface SchedulerTask extends WorkerTask
SchedulerTask
extends the Runnable
interface
by methods that are needed for recurrent execution of a task.Modifier and Type | Method and Description |
---|---|
boolean |
isDone()
Returns
true if this task is finished and should never be
executed again. |
boolean |
isReadyToRun()
Checks whether this task is ready to be executed.
|
interrupt, join, terminate
boolean isReadyToRun()
true
if this task can be executed now.boolean isDone()
true
if this task is finished and should never be
executed again.true
if this task is finished and cannot be executed
anymore.Copyright © 2020 SNMP4J.org. All rights reserved.