com.carrotsearch.junitbenchmarks
Class AutocloseConsumer

java.lang.Object
  extended by com.carrotsearch.junitbenchmarks.AutocloseConsumer
All Implemented Interfaces:
IResultsConsumer
Direct Known Subclasses:
H2Consumer, XMLConsumer

public abstract class AutocloseConsumer
extends Object
implements IResultsConsumer

Consumers that should be closed at shutdown (if not earlier).


Constructor Summary
protected AutocloseConsumer()
           
 
Method Summary
protected static void addAutoclose(Closeable c)
           
protected static void removeAutoclose(Closeable c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.carrotsearch.junitbenchmarks.IResultsConsumer
accept
 

Constructor Detail

AutocloseConsumer

protected AutocloseConsumer()
Method Detail

addAutoclose

protected static void addAutoclose(Closeable c)

removeAutoclose

protected static void removeAutoclose(Closeable c)


Copyright © 2011 Carrot Search s.c.. All Rights Reserved.