org.apache.servicemix.components.varscheduler
Class SchedulerTask
java.lang.Object
org.apache.servicemix.components.varscheduler.SchedulerTask
- All Implemented Interfaces:
- Runnable
public abstract class SchedulerTask
- extends Object
- implements Runnable
A task run by a Scheduler.
- Author:
- George Gastaldi (gastaldi)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchedulerTask
protected SchedulerTask()
run
public abstract void run()
- Specified by:
run in interface Runnable
cancel
public boolean cancel()
- Cancels task.
- Returns:
- true if task already scheduled
scheduledExecutionTime
public long scheduledExecutionTime()
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.