Package org.apache.drill.exec.rpc
Class ReconnectingConnection.CloseHandler
java.lang.Object
org.apache.drill.exec.rpc.ReconnectingConnection.CloseHandler
- All Implemented Interfaces:
io.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelFuture>
,EventListener
- Enclosing class:
- ReconnectingConnection<C extends ClientConnection,
HS extends com.google.protobuf.MessageLite>
protected class ReconnectingConnection.CloseHandler
extends Object
implements io.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelFuture>
Listens for connection closes and clears connection holder.
-
Constructor Summary
ConstructorDescriptionCloseHandler
(C connection, io.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelFuture> parent) -
Method Summary
-
Constructor Details
-
CloseHandler
public CloseHandler(C connection, io.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelFuture> parent)
-
-
Method Details
-
operationComplete
- Specified by:
operationComplete
in interfaceio.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelFuture>
- Throws:
Exception
-