cppncss
Interface ResultOutput

All Known Implementing Classes:
AbstractResultOutput, AsciiResultOutput, XmlResultOutput

public interface ResultOutput

Defines a component to output results.

Author:
Mathieu Champlon

Method Summary
 void flush()
          Notify about the end of the result flow.
 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, float average)
          Notify about an average.
 void notify(java.lang.String type, java.lang.String item, int count)
          Notify about a measurement.
 void notify(java.lang.String type, java.lang.String item, long sum)
          Notify about a sum.
 

Method Detail

notify

void notify(java.lang.String type,
            java.util.List<java.lang.String> labels)
Notify about a list of labels.

Parameters:
type - the type of measure
labels - a list of measurements

notify

void notify(java.lang.String type,
            java.lang.String item,
            int count)
Notify about a measurement.

Parameters:
type - the type of measure
item - the measured item
count - the result

notify

void notify(java.lang.String type,
            java.lang.String item,
            float average)
Notify about an average.

Parameters:
type - the type of measure
item - the measured item
average - the result

notify

void notify(java.lang.String type,
            java.lang.String item,
            long sum)
Notify about a sum.

Parameters:
type - the type of measure
item - the measured item
sum - the result

flush

void flush()
Notify about the end of the result flow.



Copyright © 2006-2007 null. All Rights Reserved.