XStream Benchmark 1.4.1-redhat-2

com.thoughtworks.xstream.tools.benchmark
Interface Reporter

All Known Implementing Classes:
HtmlReporter, MultiReporter, TextReporter

public interface Reporter

A listener to what the Harness is doing that should report the results. The sequence of methods is:

 startBenchmark,
 (
   startMetric,
   (
     startTarget,
     ( metricRecorded | metricFailed ),
     endTarget
   ) * ,
   endMetric
 ) * ,
 endBenchmark
 

Author:
Joe Walnes
See Also:
Harness

Method Summary
 void endBenchmark()
          Benchmark has ended.
 void endMetric(Metric metric)
           
 void endTarget(Target target)
           
 void metricFailed(Product product, Exception e)
           
 void metricRecorded(Product product, double result)
           
 void startBenchmark()
          Benchmark has started.
 void startMetric(Metric metric)
           
 void startTarget(Target target)
           
 

Method Detail

startBenchmark

void startBenchmark()
Benchmark has started. This will always be called ONCE (and only once) BEFORE everything else.


startMetric

void startMetric(Metric metric)

startTarget

void startTarget(Target target)

metricRecorded

void metricRecorded(Product product,
                    double result)

metricFailed

void metricFailed(Product product,
                  Exception e)

endTarget

void endTarget(Target target)

endMetric

void endMetric(Metric metric)

endBenchmark

void endBenchmark()
Benchmark has ended. This will always be called ONCE (and only once) AFTER everything else.


XStream Benchmark 1.4.1-redhat-2

Copyright © 2004-2012 XStream. All Rights Reserved.