public abstract class AbstractInnerCloseable extends AbstractCloseable
AbstractCloseable.State
closeFuture, futureLock, state
log
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, removeCloseFutureListener
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, toString, wait, wait, wait
close, close, getMaxCloseWaitTime, isOpen
protected AbstractInnerCloseable()
protected AbstractInnerCloseable(String discriminator)
protected abstract Closeable getInnerCloseable()
protected final CloseFuture doCloseGracefully()
doCloseGracefully
in class AbstractCloseable
protected final void doCloseImmediately()
AbstractCloseable
doCloseImmediately 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 AbstractCloseable
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.