public class ParallelCloseable extends SimpleCloseable
Closeables to complete in any order, then signals the completion by setting the
"parent" future as closed| Modifier and Type | Field and Description |
|---|---|
private java.lang.Iterable<? extends Closeable> |
closeables |
closing, futurelogCLOSE_WAIT_TIMEOUT, DEFAULT_CLOSE_WAIT_TIMEOUT| Constructor and Description |
|---|
ParallelCloseable(java.lang.Object id,
java.lang.Object lock,
java.lang.Iterable<? extends Closeable> closeables) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose(boolean immediately) |
addCloseFutureListener, close, isClosed, isClosing, removeCloseFutureListener, toStringgetSimplifiedLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclose, close, getMaxCloseWaitTime, isOpenprivate final java.lang.Iterable<? extends Closeable> closeables
public ParallelCloseable(java.lang.Object id,
java.lang.Object lock,
java.lang.Iterable<? extends Closeable> closeables)
protected void doClose(boolean immediately)
doClose in class SimpleCloseable