|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcppncss.ResultOutputAdapter
public final class ResultOutputAdapter
Provides an adapter between measurement observers and result outputs.
| Constructor Summary | |
|---|---|
ResultOutputAdapter(java.lang.String type,
ResultOutput output)
Create a result handler. |
|
| Method Summary | |
|---|---|
void |
notify(java.util.List<java.lang.String> labels)
Notify of the labels of the measures. |
void |
notify(java.lang.String label,
float average)
Notify of the average of measures. |
void |
notify(java.lang.String item,
int count)
Notify of a measure. |
void |
notify(java.lang.String label,
long sum)
Notify of the sum of measures. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResultOutputAdapter(java.lang.String type,
ResultOutput output)
type - the type of measurementoutput - the output| Method Detail |
|---|
public void notify(java.util.List<java.lang.String> labels)
notify in interface MeasureObserverlabels - the list of the measures.
public void notify(java.lang.String item,
int count)
notify in interface MeasureObserveritem - the name of the measured itemcount - the result of the measure
public void notify(java.lang.String label,
float average)
notify in interface AverageObserverlabel - the name of the measurementaverage - the resulting value
public void notify(java.lang.String label,
long sum)
notify in interface SumObserverlabel - the name of the measurementsum - the resulting value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||