com.endeca.portal.instrumentation
Class MetricsAggregator
java.lang.Object
com.endeca.portal.instrumentation.MetricsAggregator
public class MetricsAggregator
- extends java.lang.Object
Simple one axis aggregator for metrics for summary display.
It is fine that it is one axis, because the other axis will probably
always be some sort of execution time, and people don't like charts
greater than 2 dimensions. (Sometimes they are okay with 3d, but if
you don't tell I won't).
- Author:
- huff
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetricsAggregator
public MetricsAggregator(java.lang.String id,
MetricsAggregator.MetricsFilter filter,
MetricsAggregator.MetricsAxis axis)
add
public void add(Metric metric)
getId
public java.lang.String getId()
getTotals
public MetricsAggregation getTotals()
getAxisValues
public java.util.Map<java.lang.String,MetricsAggregation> getAxisValues()