Class ControlConnectionManager
java.lang.Object
org.apache.drill.exec.rpc.ReconnectingConnection<ControlConnection,BitControl.BitControlHandshake>
org.apache.drill.exec.rpc.control.ControlConnectionManager
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
LocalControlConnectionManager
,RemoteControlConnectionManager
public abstract class ControlConnectionManager
extends ReconnectingConnection<ControlConnection,BitControl.BitControlHandshake>
Maintains connection between two particular bits.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.exec.rpc.ReconnectingConnection
ReconnectingConnection.CloseHandler, ReconnectingConnection.CloseHandlerCreator, ReconnectingConnection.ConnectionListeningFuture<R extends com.google.protobuf.MessageLite,
E extends com.google.protobuf.Internal.EnumLite, M extends com.google.protobuf.MessageLite> -
Constructor Summary
ConstructorDescriptionControlConnectionManager
(CoordinationProtos.DrillbitEndpoint localEndpoint, CoordinationProtos.DrillbitEndpoint remoteEndpoint) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract BasicClient<?,
ControlConnection, BitControl.BitControlHandshake, ?> Methods inherited from class org.apache.drill.exec.rpc.ReconnectingConnection
addExternalConnection, close, getCloseHandlerCreator, runCommand
-
Constructor Details
-
ControlConnectionManager
public ControlConnectionManager(CoordinationProtos.DrillbitEndpoint localEndpoint, CoordinationProtos.DrillbitEndpoint remoteEndpoint)
-
-
Method Details
-
getNewClient
- Specified by:
getNewClient
in classReconnectingConnection<ControlConnection,
BitControl.BitControlHandshake>
-