Class StatsTransformer

java.lang.Object
org.jppf.ui.monitoring.data.StatsTransformer

public class StatsTransformer extends Object
This class provides a set of methods to format the statistics data received from the server.
Author:
Laurent Cohen
  • Constructor Details

    • StatsTransformer

      public StatsTransformer()
      Instantiation of this class is not allowed.
  • Method Details

    • formatDoubleValues

      public Map<Fields,Double> formatDoubleValues(org.jppf.utils.stats.JPPFStatistics stats, org.jppf.management.diagnostics.HealthSnapshot snapshot)
      Get the map of values represented as double for a specified data snapshot.
      Parameters:
      stats - the data snapshot to map.
      snapshot - the health data snapshot to map.
      Returns:
      a map of field names to their corresponding double values.