Interface IMetricHistoryProvider

All Known Implementing Classes:
CSVFileHandler

public interface IMetricHistoryProvider
  • Method Details

    • readMetricValues

      List<IDataPoint> readMetricValues(MetricId metric) throws IOException
      Returns:
      List of data points for a specific metric.
      Throws:
      IOException
    • writeMetricValues

      void writeMetricValues(Integer buildNumber, long timestamp, Map<MetricId,String> metricValues) throws IOException
      Appends all supported metrics for a specific build.
      Parameters:
      buildNumber - Number of the build where the metric was gathered
      timestamp - when the build has been executed
      metricValues - map containing the supported metrics and their values for the current build.
      Throws:
      IOException
    • getStorageName

      String getStorageName()