org.mmbase.core.util
Interface DaemonTask

All Known Implementing Classes:
DaemonThread

public interface DaemonTask

Defines a task to run in a daemon thread. A task should define a executeTask() method and a getSleepPeriod() method to define it's behavior.

Since:
MMBase-1.8

Method Summary
 void executeTask()
          Defines a task that need be run by a daemon thread's run() method.
 int getSleepPeriod()
          Returns this task's sleep period.
 

Method Detail

getSleepPeriod

public int getSleepPeriod()
Returns this task's sleep period.


executeTask

public void executeTask()
Defines a task that need be run by a daemon thread's run() method.



MMBase build 1.8.1.20060716