com.thoughtworks.xstream.tools.benchmark.reporters
Class MultiReporter
java.lang.Object
com.thoughtworks.xstream.tools.benchmark.reporters.MultiReporter
- All Implemented Interfaces:
- Reporter
public class MultiReporter
- extends Object
- implements Reporter
A reporter multiplexing the results to other Reporters.
- Since:
- 1.3
- Author:
- Jörg Schaible
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiReporter
public MultiReporter(Reporter[] reporter)
endBenchmark
public void endBenchmark()
- Description copied from interface:
Reporter
- Benchmark has ended. This will always be called ONCE (and only once) AFTER everything else.
- Specified by:
endBenchmark
in interface Reporter
endMetric
public void endMetric(Metric metric)
- Specified by:
endMetric
in interface Reporter
endTarget
public void endTarget(Target target)
- Specified by:
endTarget
in interface Reporter
metricFailed
public void metricFailed(Product product,
Exception e)
- Specified by:
metricFailed
in interface Reporter
metricRecorded
public void metricRecorded(Product product,
double result)
- Specified by:
metricRecorded
in interface Reporter
startBenchmark
public void startBenchmark()
- Description copied from interface:
Reporter
- Benchmark has started. This will always be called ONCE (and only once) BEFORE everything else.
- Specified by:
startBenchmark
in interface Reporter
startMetric
public void startMetric(Metric metric)
- Specified by:
startMetric
in interface Reporter
startTarget
public void startTarget(Target target)
- Specified by:
startTarget
in interface Reporter
Copyright © 2004-2012 XStream. All Rights Reserved.