Class LocalControlConnectionManager
java.lang.Object
org.apache.drill.exec.rpc.ReconnectingConnection<ControlConnection,BitControl.BitControlHandshake>
org.apache.drill.exec.rpc.control.ControlConnectionManager
org.apache.drill.exec.rpc.control.LocalControlConnectionManager
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
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
ConstructorDescriptionLocalControlConnectionManager
(ControlConnectionConfig config, CoordinationProtos.DrillbitEndpoint localEndpoint) -
Method Summary
Modifier and TypeMethodDescriptionprotected BasicClient<?,
ControlConnection, BitControl.BitControlHandshake, ?> void
runCommand
(RpcCommand cmd) Methods inherited from class org.apache.drill.exec.rpc.ReconnectingConnection
addExternalConnection, close, getCloseHandlerCreator
-
Constructor Details
-
LocalControlConnectionManager
public LocalControlConnectionManager(ControlConnectionConfig config, CoordinationProtos.DrillbitEndpoint localEndpoint)
-
-
Method Details
-
getNewClient
- Specified by:
getNewClient
in classControlConnectionManager
-
runCommand
- Overrides:
runCommand
in classReconnectingConnection<ControlConnection,
BitControl.BitControlHandshake>
-