public class AgentForwardSupport extends CloseableUtils.AbstractCloseable
CloseableUtils.AbstractCloseable.StatecloseFuture, lock, statelog| Constructor and Description |
|---|
AgentForwardSupport(ConnectionService service) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
doCloseImmediately()
doCloseImmediately is called once and only once
with state == Immediate
|
String |
initialize() |
String |
toString() |
builder, close, doCloseGracefully, isClosed, isClosing, preCloseisOpenpublic AgentForwardSupport(ConnectionService service)
public String initialize() throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface Channelclose in class CloseableUtils.IoBaseCloseableIOExceptionprotected void doCloseImmediately()
CloseableUtils.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 CloseableUtils.AbstractCloseableCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.