Class DataNodeAsyncRequestContext<Q,R>
java.lang.Object
org.apache.iotdb.commons.client.request.AsyncRequestContext<Q,R,CnToDnAsyncRequestType,TDataNodeLocation>
org.apache.iotdb.confignode.client.async.handlers.DataNodeAsyncRequestContext<Q,R>
- Type Parameters:
Q- ClassName of RPC requestR- ClassName of RPC response
public class DataNodeAsyncRequestContext<Q,R>
extends AsyncRequestContext<Q,R,CnToDnAsyncRequestType,TDataNodeLocation>
Asynchronous Client handler.
-
Field Summary
Fields inherited from class org.apache.iotdb.commons.client.request.AsyncRequestContext
requestType -
Constructor Summary
ConstructorsConstructorDescriptionDataNodeAsyncRequestContext(CnToDnAsyncRequestType requestType) DataNodeAsyncRequestContext(CnToDnAsyncRequestType requestType, Map<Integer, TDataNodeLocation> dataNodeLocationMap) DataNodeAsyncRequestContext(CnToDnAsyncRequestType requestType, Q q, Map<Integer, TDataNodeLocation> dataNodeLocationMap) -
Method Summary
Methods inherited from class org.apache.iotdb.commons.client.request.AsyncRequestContext
getCountDownLatch, getNodeLocation, getNodeLocationMap, getRequest, getRequestIndices, getRequestType, getResponseList, getResponseMap, putNodeLocation, putRequest, resetCountDownLatch
-
Constructor Details
-
DataNodeAsyncRequestContext
-
DataNodeAsyncRequestContext
public DataNodeAsyncRequestContext(CnToDnAsyncRequestType requestType, Map<Integer, TDataNodeLocation> dataNodeLocationMap) -
DataNodeAsyncRequestContext
public DataNodeAsyncRequestContext(CnToDnAsyncRequestType requestType, Q q, Map<Integer, TDataNodeLocation> dataNodeLocationMap)
-