Interface IMetricHistoryProvider
- All Known Implementing Classes:
CSVFileHandler
public interface IMetricHistoryProvider
-
Method Summary
Modifier and TypeMethodDescriptionreadMetricValues(MetricId metric) voidwriteMetricValues(Integer buildNumber, long timestamp, Map<MetricId, String> metricValues) Appends all supported metrics for a specific build.
-
Method Details
-
readMetricValues
- Returns:
- List of data points for a specific metric.
- Throws:
IOException
-
writeMetricValues
void writeMetricValues(Integer buildNumber, long timestamp, Map<MetricId, String> metricValues) throws IOExceptionAppends 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()
-