Method Summary |
|
public synchronized void | addTask(SchedulerTask task) Adds a task to the scheduler. |
public synchronized void | clear() Removes all tasks. |
public boolean | isStop() Checks if the scheduler is (to be) stopped. |
public synchronized boolean | removeTask(SchedulerTask task) Removes a task from the scheduler. |
public void | run() Runs the scheduler. |
public void | setStop(boolean stop) Stops the schedulers run method. |