com.carrotsearch.junitbenchmarks
Class WriterConsumer
java.lang.Object
com.carrotsearch.junitbenchmarks.WriterConsumer
- All Implemented Interfaces:
- IResultsConsumer
public final class WriterConsumer
- extends Object
- implements IResultsConsumer
IResultsConsumer
printing benchmark results to a given writer.
Method Summary |
void |
accept(Result result)
Accepts the results of a single benchmark. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WriterConsumer
public WriterConsumer()
WriterConsumer
public WriterConsumer(Writer w)
accept
public void accept(Result result)
throws IOException
- Description copied from interface:
IResultsConsumer
- Accepts the results of a single benchmark.
- Specified by:
accept
in interface IResultsConsumer
- Throws:
IOException
Copyright © 2011 Carrot Search s.c.. All Rights Reserved.