Class MetricsTable
- java.lang.Object
-
- org.duracloud.common.util.metrics.MetricsTable
-
public class MetricsTable extends Object
This class aggregates Metrics into a hierarchy roughly similar to a call stack.- Author:
- Andrew Woods
-
-
Constructor Summary
Constructors Constructor Description MetricsTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMetric(Metric metric)voidaddSubMetric(Metric parent, MetricsTable subTable)Iterator<Metric.MetricElement>getElements(Metric parent)Iterator<Metric>getMetrics()MetricsTablegetSubTable(Metric parent, Metric.MetricElement elem)
-
-
-
Method Detail
-
addMetric
public void addMetric(Metric metric)
-
addSubMetric
public void addSubMetric(Metric parent, MetricsTable subTable)
-
getElements
public Iterator<Metric.MetricElement> getElements(Metric parent)
-
getSubTable
public MetricsTable getSubTable(Metric parent, Metric.MetricElement elem) throws MetricException
- Throws:
MetricException
-
-