Class StatsRefreshTask

java.lang.Object
java.util.TimerTask
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 Details

    • StatsRefreshTask

      public StatsRefreshTask(org.jppf.client.monitoring.topology.TopologyDriver driver)
      Initialize this task with a specified client connection.
      Parameters:
      driver - represents the connection to use to request data.
  • Method Details

    • run

      public void run()
      Request an update from the JPPF driver.
      Specified by:
      run in interface Runnable
      Specified by:
      run in class TimerTask