org.apache.axis2.deployment.scheduler
Class SchedulerTask
java.lang.Object
org.apache.axis2.deployment.scheduler.SchedulerTask
- All Implemented Interfaces:
- Runnable
public class SchedulerTask
- extends Object
- implements Runnable
Method Summary |
boolean |
cancel()
Cancels this scheduler task. |
void |
run()
The action to be performed by this scheduler task. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchedulerTask
public SchedulerTask(RepositoryListener listener,
AxisConfiguration axisConfig)
- Creates a new scheduler task.
cancel
public boolean cancel()
- Cancels this scheduler task.
This method may be called repeatedly; the second and subsequent calls have no effect.
- Returns:
- Returns true if this task was already scheduled to run.
run
public void run()
- The action to be performed by this scheduler task.
- Specified by:
run
in interface Runnable
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.