Class CnToDnInternalServiceAsyncRequestManager
java.lang.Object
org.apache.iotdb.commons.client.request.AsyncRequestManager<RequestType,TDataNodeLocation,AsyncDataNodeInternalServiceClient>
org.apache.iotdb.commons.client.request.DataNodeInternalServiceRequestManager<CnToDnAsyncRequestType>
org.apache.iotdb.confignode.client.async.CnToDnInternalServiceAsyncRequestManager
public class CnToDnInternalServiceAsyncRequestManager
extends DataNodeInternalServiceRequestManager<CnToDnAsyncRequestType>
Asynchronously send RPC requests to DataNodes. See queryengine.thrift for more details.
-
Field Summary
Fields inherited from class org.apache.iotdb.commons.client.request.AsyncRequestManager
actionMap, actionMapBuilder, clientManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidadjustClientTimeoutIfNecessary(CnToDnAsyncRequestType CnToDnAsyncRequestType, AsyncDataNodeInternalServiceClient client) buildHandler(AsyncRequestContext<?, ?, CnToDnAsyncRequestType, TDataNodeLocation> requestContext, int requestId, TDataNodeLocation targetNode) protected voidprotected voidMethods inherited from class org.apache.iotdb.commons.client.request.DataNodeInternalServiceRequestManager
initClientManager, nodeLocationToEndPointMethods inherited from class org.apache.iotdb.commons.client.request.AsyncRequestManager
getAsyncClient, resetClient, sendAsyncRequest, sendAsyncRequest, sendAsyncRequest, sendAsyncRequestToNodeWithRetryAndTimeoutInMs, sendAsyncRequestWithRetry
-
Constructor Details
-
CnToDnInternalServiceAsyncRequestManager
public CnToDnInternalServiceAsyncRequestManager()
-
-
Method Details
-
initActionMapBuilder
protected void initActionMapBuilder()- Specified by:
initActionMapBuilderin classAsyncRequestManager<CnToDnAsyncRequestType,TDataNodeLocation, AsyncDataNodeInternalServiceClient>
-
checkActionMapCompleteness
protected void checkActionMapCompleteness() -
buildHandler
protected AsyncRequestRPCHandler<?,CnToDnAsyncRequestType, buildHandlerTDataNodeLocation> (AsyncRequestContext<?, ?, CnToDnAsyncRequestType, TDataNodeLocation> requestContext, int requestId, TDataNodeLocation targetNode) - Specified by:
buildHandlerin classAsyncRequestManager<CnToDnAsyncRequestType,TDataNodeLocation, AsyncDataNodeInternalServiceClient>
-
adjustClientTimeoutIfNecessary
protected void adjustClientTimeoutIfNecessary(CnToDnAsyncRequestType CnToDnAsyncRequestType, AsyncDataNodeInternalServiceClient client) -
getInstance
-