org.jppf.scheduling
Class JPPFScheduleHandler.ScheduleHandlerTask
java.lang.Object
java.util.TimerTask
org.jppf.scheduling.JPPFScheduleHandler.ScheduleHandlerTask
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- JPPFScheduleHandler
public class JPPFScheduleHandler.ScheduleHandlerTask
- extends TimerTask
Timer task that triggers an action when the corresponding schedule date is reached.
|
Method Summary |
void |
run()
Check if the scheduled date has been reached and execute the corresponding action |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPPFScheduleHandler.ScheduleHandlerTask
public JPPFScheduleHandler.ScheduleHandlerTask(Object key,
Runnable action)
- Timer task wrapping a scheduled action.
- Parameters:
key - the key associated with the action.action - the action to perform when the schedule date is reached.
run
public void run()
- Check if the scheduled date has been reached and execute the corresponding action
- Specified by:
run in interface Runnable- Specified by:
run in class TimerTask
- See Also:
TimerTask.run()
Copyright © 2005-2010 JPPF Team.