Interface IMetricHistoryProvider
-
- All Known Implementing Classes:
CSVFileHandler
public interface IMetricHistoryProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getStorageName()
List<IDataPoint>
readMetricValues(MetricId metric)
void
writeMetricValues(Integer buildNumber, long timestamp, Map<MetricId,String> metricValues)
Appends all supported metrics for a specific build.
-
-
-
Method Detail
-
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 gatheredtimestamp
- when the build has been executedmetricValues
- map containing the supported metrics and their values for the current build.- Throws:
IOException
-
getStorageName
String getStorageName()
-
-