Class IoTDBConfigNodeSyncClientManager
java.lang.Object
org.apache.iotdb.commons.pipe.connector.client.IoTDBClientManager
org.apache.iotdb.commons.pipe.connector.client.IoTDBSyncClientManager
org.apache.iotdb.confignode.manager.pipe.connector.client.IoTDBConfigNodeSyncClientManager
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
Fields inherited from class org.apache.iotdb.commons.pipe.connector.client.IoTDBSyncClientManager
endPoint2ClientAndStatusFields inherited from class org.apache.iotdb.commons.pipe.connector.client.IoTDBClientManager
CONNECTION_TIMEOUT_MS, currentClientIndex, endPointList, loadTsFileStrategy, password, shouldMarkAsPipeRequest, shouldReceiverConvertOnTypeMismatch, supportModsIfIsDataNodeReceiver, useLeaderCache, username, validateTsFile -
Constructor Summary
ConstructorsConstructorDescriptionIoTDBConfigNodeSyncClientManager(List<TEndPoint> endPoints, String username, String password, boolean useSSL, String trustStorePath, String trustStorePwd, String loadBalanceStrategy, boolean shouldReceiverConvertOnTypeMismatch, String loadTsFileStrategy, boolean validateTsFile, boolean shouldMarkAsPipeRequest) -
Method Summary
Modifier and TypeMethodDescriptionprotected PipeTransferConfigNodeHandshakeV1Reqprotected org.apache.iotdb.commons.pipe.connector.payload.thrift.request.PipeTransferHandshakeV2ReqbuildHandshakeV2Req(Map<String, String> params) protected StringMethods inherited from class org.apache.iotdb.commons.pipe.connector.client.IoTDBSyncClientManager
checkClientStatusAndTryReconstructIfNecessary, close, getClient, reconstructClient, sendHandshakeReqMethods inherited from class org.apache.iotdb.commons.pipe.connector.client.IoTDBClientManager
adjustTimeoutIfNecessary, getConnectionTimeout, supportModsIfIsDataNodeReceiver
-
Constructor Details
-
IoTDBConfigNodeSyncClientManager
public IoTDBConfigNodeSyncClientManager(List<TEndPoint> endPoints, String username, String password, boolean useSSL, String trustStorePath, String trustStorePwd, String loadBalanceStrategy, boolean shouldReceiverConvertOnTypeMismatch, String loadTsFileStrategy, boolean validateTsFile, boolean shouldMarkAsPipeRequest)
-
-
Method Details
-
buildHandshakeV1Req
- Specified by:
buildHandshakeV1Reqin classIoTDBSyncClientManager- Throws:
IOException
-
buildHandshakeV2Req
protected org.apache.iotdb.commons.pipe.connector.payload.thrift.request.PipeTransferHandshakeV2Req buildHandshakeV2Req(Map<String, String> params) throws IOException- Specified by:
buildHandshakeV2Reqin classIoTDBSyncClientManager- Throws:
IOException
-
getClusterId
- Specified by:
getClusterIdin classIoTDBSyncClientManager
-