|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcppncss.AbstractResultOutput
public abstract class AbstractResultOutput
Captures behaviours common to all result outputs.
| Constructor Summary | |
|---|---|
AbstractResultOutput()
|
|
| Method Summary | |
|---|---|
void |
notify(java.lang.String type,
java.util.List<java.lang.String> labels)
Notify about a list of labels. |
void |
notify(java.lang.String type,
java.lang.String item,
int count)
Notify about a measurement. |
protected abstract void |
printHeaders(java.lang.String type,
java.util.List<java.lang.String> labels)
Print measurements headers. |
protected abstract void |
printIndex(java.lang.String item,
int index)
Print the index of an item. |
protected abstract void |
printItem(java.lang.String item)
Print an item. |
protected abstract void |
printMeasurement(java.lang.String label,
int count)
Print a measurement. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface cppncss.ResultOutput |
|---|
flush, notify, notify |
| Constructor Detail |
|---|
public AbstractResultOutput()
| Method Detail |
|---|
public final void notify(java.lang.String type,
java.util.List<java.lang.String> labels)
notify in interface ResultOutputtype - the type of measurelabels - a list of measurements
public final void notify(java.lang.String type,
java.lang.String item,
int count)
notify in interface ResultOutputtype - the type of measureitem - the measured itemcount - the result
protected abstract void printHeaders(java.lang.String type,
java.util.List<java.lang.String> labels)
type - the type of the measurementlabels - a list of all measurement names
protected abstract void printIndex(java.lang.String item,
int index)
item - the name of the itemindex - the indexprotected abstract void printItem(java.lang.String item)
item - the name of the item
protected abstract void printMeasurement(java.lang.String label,
int count)
label - the name of the measurementcount - the result value of the measurement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||