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