Package org.jppf.admin.web.stats
Class StatsUpdater
java.lang.Object
org.jppf.ui.monitoring.data.BaseStatsHandler
org.jppf.admin.web.stats.StatsUpdater
public class StatsUpdater
extends org.jppf.ui.monitoring.data.BaseStatsHandler
- Author:
- Laurent Cohen
-
Field Summary
Fields inherited from class org.jppf.ui.monitoring.data.BaseStatsHandler
dataHolderMap, refreshInterval, rolloverPosition -
Constructor Summary
ConstructorsConstructorDescriptionStatsUpdater(org.jppf.client.monitoring.topology.TopologyManager topologyManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close and cleanup this stats updater and release the resources it is using.org.jppf.client.monitoring.topology.TopologyDriverprotected org.jppf.ui.monitoring.data.StatsFormattergetFormatter(Locale locale) voidsetCurrentDriver(org.jppf.client.monitoring.topology.TopologyDriver currentDriver) Set the current driver.Methods inherited from class org.jppf.ui.monitoring.data.BaseStatsHandler
addStatsHandlerListener, fireStatsHandlerEvent, formatLatestValue, getDoubleValues, getLatestDoubleValues, getLatestStringValues, getRefreshInterval, getRolloverPosition, getShowIPHandler, getStatsCount, getStringValues, getTickCount, removeStatsHandlerListener, requestUpdate, setRefreshInterval, update
-
Constructor Details
-
StatsUpdater
public StatsUpdater(org.jppf.client.monitoring.topology.TopologyManager topologyManager) - Parameters:
topologyManager- monitors and maintains a representation of the grid topology.
-
-
Method Details
-
close
public void close()Close and cleanup this stats updater and release the resources it is using. -
getFormatter
- Overrides:
getFormatterin classorg.jppf.ui.monitoring.data.BaseStatsHandler
-
getCurrentDriver
public org.jppf.client.monitoring.topology.TopologyDriver getCurrentDriver()- Returns:
- the currently selected driver.
-
setCurrentDriver
public void setCurrentDriver(org.jppf.client.monitoring.topology.TopologyDriver currentDriver) Set the current driver.- Parameters:
currentDriver- the driver to set.
-