org.snmp4j.util
Interface SchedulerTask

All Superinterfaces:
java.lang.Runnable, WorkerTask

public interface SchedulerTask
extends 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
 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.
 
Methods inherited from interface org.snmp4j.util.WorkerTask
interrupt, join, terminate
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

isReadyToRun

boolean isReadyToRun()
Checks whether this task is ready to be executed. A task is

Returns:
true if this task can be executed now.

isDone

boolean isDone()
Returns true if this task is finished and should never be executed again.

Returns:
true if this task is finished and cannot be executed anymore.

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.