org.duracloud.common.util.metrics
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetricsTable
public MetricsTable()
addMetric
public void addMetric(Metric metric)
addSubMetric
public void addSubMetric(Metric parent,
MetricsTable subTable)
getMetrics
public Iterator<Metric> getMetrics()
getElements
public Iterator<Metric.MetricElement> getElements(Metric parent)
getSubTable
public MetricsTable getSubTable(Metric parent,
Metric.MetricElement elem)
throws MetricException
- Throws:
MetricException
Copyright © 2009-2011 DuraSpace. All Rights Reserved.