Package org.snmp4j.util
Interface SchedulerTask
- All Superinterfaces:
Runnable,WorkerTask
The
SchedulerTask extends the Runnable interface
by methods that are needed for recurrent execution of a task.- Since:
- 1.6
- Version:
- 1.9
- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisDone()Returnstrueif this task is finished and should never be executed again.booleanChecks whether this task is ready to be executed.Methods inherited from interface org.snmp4j.util.WorkerTask
interrupt, join, terminate
-
Method Details
-
isReadyToRun
boolean isReadyToRun()Checks whether this task is ready to be executed. A task is- Returns:
trueif this task can be executed now.
-
isDone
boolean isDone()Returnstrueif this task is finished and should never be executed again.- Returns:
trueif this task is finished and cannot be executed anymore.
-