Package org.apache.drill.exec.rpc.data
Class DataConnectionManager
java.lang.Object
org.apache.drill.exec.rpc.ReconnectingConnection<DataClientConnection,BitData.BitClientHandshake>
org.apache.drill.exec.rpc.data.DataConnectionManager
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class DataConnectionManager
extends ReconnectingConnection<DataClientConnection,BitData.BitClientHandshake>
-
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
ConstructorDescriptionDataConnectionManager
(CoordinationProtos.DrillbitEndpoint remoteEndpoint, org.apache.drill.exec.rpc.data.DataConnectionConfig config) -
Method Summary
Methods inherited from class org.apache.drill.exec.rpc.ReconnectingConnection
addExternalConnection, close, getCloseHandlerCreator, runCommand
-
Constructor Details
-
DataConnectionManager
public DataConnectionManager(CoordinationProtos.DrillbitEndpoint remoteEndpoint, org.apache.drill.exec.rpc.data.DataConnectionConfig config)
-
-
Method Details
-
getNewClient
- Specified by:
getNewClient
in classReconnectingConnection<DataClientConnection,
BitData.BitClientHandshake>
-