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

    Constructors
    Constructor
    Description
    StatsUpdater(org.jppf.client.monitoring.topology.TopologyManager topologyManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Close and cleanup this stats updater and release the resources it is using.
    org.jppf.client.monitoring.topology.TopologyDriver
     
    protected org.jppf.ui.monitoring.data.StatsFormatter
     
    void
    setCurrentDriver(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected org.jppf.ui.monitoring.data.StatsFormatter getFormatter(Locale locale)
      Overrides:
      getFormatter in class org.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.