org.jppf.ui.monitoring.data
Class StatsRefreshTask

java.lang.Object
  extended by java.util.TimerTask
      extended by org.jppf.ui.monitoring.data.StatsRefreshTask
All Implemented Interfaces:
Runnable

public class StatsRefreshTask
extends TimerTask

Instances of this class are tasks run periodically from a timer thread, requesting the latest statistics form a JPPF driver connection each time they are run.

Author:
Laurent Cohen

Constructor Summary
StatsRefreshTask(JPPFClientConnectionImpl connection)
          Initialize this task with a specified client connection.
 
Method Summary
 void run()
          Request an update from the JPPF driver.
 
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

StatsRefreshTask

public StatsRefreshTask(JPPFClientConnectionImpl connection)
Initialize this task with a specified client connection.

Parameters:
connection - the connection to use to request data.
Method Detail

run

public void run()
Request an update from the JPPF driver.

Specified by:
run in interface Runnable
Specified by:
run in class TimerTask
See Also:
TimerTask.run()


Copyright © 2005-2010 JPPF Team.