org.sourceforge.mbeanmonitoring.report
Class TasksScheduler

java.lang.Object
  extended by java.util.TimerTask
      extended by org.sourceforge.mbeanmonitoring.report.TasksScheduler
All Implemented Interfaces:
java.lang.Runnable

public class TasksScheduler
extends java.util.TimerTask


Constructor Summary
TasksScheduler()
           
 
Method Summary
 void addRunnableTasks(java.lang.Runnable r)
           
 void executeTask(java.lang.Runnable r)
           
 void run()
           
 void startScheduledTasks(int intervalInSec)
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TasksScheduler

public TasksScheduler()
Method Detail

addRunnableTasks

public void addRunnableTasks(java.lang.Runnable r)

startScheduledTasks

public void startScheduledTasks(int intervalInSec)

run

public void run()
Specified by:
run in interface java.lang.Runnable
Specified by:
run in class java.util.TimerTask

executeTask

public void executeTask(java.lang.Runnable r)


Copyright © 2003-2008. All Rights Reserved.