public class MetricsAggregator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MetricsAggregator.MetricsAxis |
static interface |
MetricsAggregator.MetricsFilter
Return true if the metric should be included in the aggregator, false if it shouldn't
|
Constructor and Description |
---|
MetricsAggregator(java.lang.String id,
MetricsAggregator.MetricsFilter filter,
MetricsAggregator.MetricsAxis axis) |
Modifier and Type | Method and Description |
---|---|
void |
add(Metric metric) |
java.util.Map<java.lang.String,MetricsAggregation> |
getAxisValues() |
java.lang.String |
getId() |
MetricsAggregation |
getTotals() |
public MetricsAggregator(java.lang.String id, MetricsAggregator.MetricsFilter filter, MetricsAggregator.MetricsAxis axis)
public void add(Metric metric)
public java.lang.String getId()
public MetricsAggregation getTotals()
public java.util.Map<java.lang.String,MetricsAggregation> getAxisValues()
Copyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.