public abstract class AbstractInnerCloseable extends AbstractCloseable
AbstractCloseable.StatecloseFuture, futureLock, statelogCLOSE_WAIT_TIMEOUT, DEFAULT_CLOSE_WAIT_TIMEOUT| Modifier | Constructor and Description |
|---|---|
protected |
AbstractInnerCloseable() |
protected |
AbstractInnerCloseable(String discriminator) |
| Modifier and Type | Method and Description |
|---|---|
protected CloseFuture |
doCloseGracefully() |
protected void |
doCloseImmediately()
doCloseImmediately is called once and only once with state == Immediate
|
protected abstract Closeable |
getInnerCloseable() |
addCloseFutureListener, builder, close, getFutureLock, isClosed, isClosing, preClose, removeCloseFutureListenergetSimplifiedLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, close, getMaxCloseWaitTime, isOpenprotected AbstractInnerCloseable()
protected AbstractInnerCloseable(String discriminator)
protected abstract Closeable getInnerCloseable()
protected final CloseFuture doCloseGracefully()
doCloseGracefully in class AbstractCloseableprotected final void doCloseImmediately()
AbstractCloseabledoCloseImmediately is called once and only once with state == Immediate
Overriding methods should always call the base implementation. It may be called concurrently while preClose() or doCloseGracefully is executing
doCloseImmediately in class AbstractCloseableCopyright © 2018–2020 The Apache Software Foundation. All rights reserved.