org.jppf.ui.monitoring.data
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
|
Method Summary |
void |
run()
Request an update from the JPPF driver. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatsRefreshTask
public StatsRefreshTask(JPPFClientConnectionImpl connection)
- Initialize this task with a specified client connection.
- Parameters:
connection - the connection to use to request data.
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.