public class MetricsDatabase extends Object
Constructor and Description |
---|
MetricsDatabase(String systemId,
ConnectionProvider connectionProvider) |
Modifier and Type | Method and Description |
---|---|
long |
getLatestMetricTimestamp() |
List<MonitoringMetric> |
getMetrics(Long since,
Integer limit) |
com.google.common.collect.BiMap<String,Short> |
getMetricTypes() |
void |
writeMetric(MonitoringMetric metric) |
public MetricsDatabase(String systemId, ConnectionProvider connectionProvider)
public void writeMetric(MonitoringMetric metric)
public List<MonitoringMetric> getMetrics(Long since, Integer limit)
public long getLatestMetricTimestamp()
Copyright © 2017 ICF Olson. All rights reserved.