public class ParallelCloseable extends SimpleCloseable
Closeables to complete in any order, then
signals the completion by setting the "parent" future as closedclosing, futurelogCLOSE_WAIT_TIMEOUT, DEFAULT_CLOSE_WAIT_TIMEOUT| Constructor and Description |
|---|
ParallelCloseable(Object lock,
Iterable<? extends Closeable> closeables) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose(boolean immediately) |
addCloseFutureListener, close, isClosed, isClosing, removeCloseFutureListenergetSimplifiedLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, close, getMaxCloseWaitTime, isOpenprotected void doClose(boolean immediately)
doClose in class SimpleCloseableCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.