|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.dtf.testframework.utils.PerformanceLogger
public class PerformanceLogger
Constructor Summary | |
---|---|
PerformanceLogger(java.lang.String dataName)
Create a performance logger that logs data of type 'dataName'. |
Method Summary | |
---|---|
void |
addData(double x,
double y)
Add the data x,y to the performance data. |
java.util.ArrayList |
getData()
Retrieve a copy of the performance data. |
java.lang.String |
getDataName()
|
java.lang.String |
getXAxisLabel()
|
java.lang.String |
getYAxisLabel()
|
void |
output(java.io.OutputStream out)
Output the logger performance data to the given output stream. |
void |
setXAxisLabel(java.lang.String label)
Set the label for the X axis. |
void |
setYAxisLabel(java.lang.String label)
Set the label for the Y axis. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PerformanceLogger(java.lang.String dataName)
dataName
- A unique name which will be used to identify the type of data.Method Detail |
---|
public java.lang.String getDataName()
public void setXAxisLabel(java.lang.String label)
label
- The label for the X-axis.public void setYAxisLabel(java.lang.String label)
label
- The label for the Y-axis.public java.util.ArrayList getData()
public void addData(double x, double y)
x
- The X data.y
- The Y data.public java.lang.String getXAxisLabel()
public java.lang.String getYAxisLabel()
public void output(java.io.OutputStream out) throws java.lang.Exception
out
- The stream to log the data to.
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |