Class SequentialCloseable
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.util.closeable.IoBaseCloseable
org.apache.sshd.common.util.closeable.SimpleCloseable
org.apache.sshd.common.util.closeable.SequentialCloseable
- All Implemented Interfaces:
Closeable, AutoCloseable, Channel, Closeable
Waits for a group of
Closeables to complete in the given order, then signals the completion by setting the
"parent" future as closed-
Field Summary
FieldsFields inherited from class SimpleCloseable
closing, futureFields inherited from class AbstractLoggingBean
log -
Constructor Summary
ConstructorsConstructorDescriptionSequentialCloseable(Object id, Object lock, Iterable<? extends Closeable> closeables) -
Method Summary
Methods inherited from class SimpleCloseable
addCloseFutureListener, close, isClosed, isClosing, removeCloseFutureListener, toStringMethods inherited from class AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
-
Field Details
-
closeables
-
-
Constructor Details
-
SequentialCloseable
-
-
Method Details
-
doClose
protected void doClose(boolean immediately) - Overrides:
doClosein classSimpleCloseable
-