com.carrotsearch.junitbenchmarks
Class WriterConsumer

java.lang.Object
  extended by com.carrotsearch.junitbenchmarks.WriterConsumer
All Implemented Interfaces:
IResultsConsumer

public final class WriterConsumer
extends Object
implements IResultsConsumer

IResultsConsumer printing benchmark results to a given writer.


Constructor Summary
WriterConsumer()
           
WriterConsumer(Writer w)
           
 
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
 

Constructor Detail

WriterConsumer

public WriterConsumer()

WriterConsumer

public WriterConsumer(Writer w)
Method Detail

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 © 2013 Carrot Search s.c.. All Rights Reserved.