@ThreadSafe public class TimeSeriesStore extends Object
Constructor and Description |
---|
TimeSeriesStore()
Constructs a new time series store.
|
Modifier and Type | Method and Description |
---|---|
List<TimeSeries> |
getTimeSeries() |
void |
record(String metric,
double value)
Records a value for the given metric at the current time.
|
public void record(String metric, double value)
metric
- the name of the metricvalue
- the value of the metricpublic List<TimeSeries> getTimeSeries()
Copyright © 2023. All Rights Reserved.