public class AggregatedValue extends Object
| Constructor and Description |
|---|
AggregatedValue(String type,
double value) |
AggregatedValue(String type,
double value,
String srcMetric,
Interval srcMetricInterval,
UUID timeUUID) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getSrcMetric()
When the aggregated value is the result of applying a function to data
from multiple metrics, this might be set for certain functions.
|
Interval |
getSrcMetricInterval()
When the aggregated value is the result of applying a function to data
from multiple metrics, this might be set for particular functions.
|
UUID |
getTimeUUID()
This will be set for certain functions that basically perform filtering.
|
String |
getType()
The aggregation function used to produce this value, e.g., max, min, sum,
count, etc.
|
double |
getValue() |
int |
hashCode() |
String |
toString() |
public AggregatedValue(String type, double value)
public String getType()
public String getSrcMetric()
srcMetric along with
srcMetricInterval will tell us from which metric that value
came.public Interval getSrcMetricInterval()
srcMetricInterval along with
srcMetric will tell us from which metric that value came.public double getValue()
public UUID getTimeUUID()
timestamp gives us the collection time of the input data
point that is the max or min.Copyright © 2014–2018 Red Hat, Inc.. All rights reserved.