ca.intelliware.amakihi.util.performance
Class AttributeResponseTimeTable
java.lang.Object
|
+--ca.intelliware.amakihi.util.performance.AttributeResponseTimeTable
- public class AttributeResponseTimeTable
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeResponseTimeTable
public AttributeResponseTimeTable(long responseTimeInterval,
java.lang.String attributeName)
addMetric
public void addMetric(java.lang.String attribute,
long startTime,
long elapsedTime)
getAttributes
public java.lang.String[] getAttributes()
getAllMetrics
public AttributeResponseTimeTable.Metric[] getAllMetrics(java.lang.String attribute,
int interval)
getAllMetrics
public AttributeResponseTimeTable.Metric[] getAllMetrics(java.lang.String attribute)
getAverager
public Averager getAverager(java.lang.String attribute)
getAverager
protected Averager getAverager(AttributeResponseTimeTable.Metric[] metrics)
writeTo
protected void writeTo(java.io.Writer writer,
java.lang.String indentation)
throws java.io.IOException
Write the table as XML to a writer.
FIXME: I'm not sure about giving this class the additional responsibility
of "knowing" about its rendered format.
Copyright 2002 Intelliware Development. All Rights Reserved.