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 lock,
Iterable<? extends Closeable> closeables) |
Modifier and Type | Method and Description |
---|---|
protected void |
doClose(boolean immediately) |
close, isClosed, isClosing
close, isOpen
protected void doClose(boolean immediately)
doClose
in class SimpleCloseable
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.