com.carrotsearch.junitbenchmarks
Class AutocloseConsumer
java.lang.Object
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).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutocloseConsumer
protected AutocloseConsumer()
addAutoclose
protected static void addAutoclose(Closeable c)
removeAutoclose
protected static void removeAutoclose(Closeable c)
Copyright © 2011 Carrot Search s.c.. All Rights Reserved.