Package alluxio.metrics
Interface SingleValueAggregator
-
- All Superinterfaces:
MetricsAggregator
public interface SingleValueAggregator extends MetricsAggregator
Interface for the aggregator that aggregates into a single value from the metrics of different hosts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getValue(java.util.Map<MetricsFilter,java.util.Set<Metric>> map)
Gets the aggregated value from the filtered metrics.-
Methods inherited from interface alluxio.metrics.MetricsAggregator
getFilters, getName
-
-
-
-
Method Detail
-
getValue
long getValue(java.util.Map<MetricsFilter,java.util.Set<Metric>> map)
Gets the aggregated value from the filtered metrics. The values of map will be the filtered metrics using theMetricsFilter
defined inMetricsAggregator.getFilters()
.- Parameters:
map
- a map ofMetricsFilter
to the set of metrics that it filter to- Returns:
- the aggregated value
-
-