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