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