Class SchemaUpdateRPCHandler
java.lang.Object
org.apache.iotdb.commons.client.request.AsyncRequestRPCHandler<Response,CnToDnAsyncRequestType,TDataNodeLocation>
org.apache.iotdb.confignode.client.async.handlers.rpc.DataNodeAsyncRequestRPCHandler<TSStatus>
org.apache.iotdb.confignode.client.async.handlers.rpc.DataNodeTSStatusRPCHandler
org.apache.iotdb.confignode.client.async.handlers.rpc.SchemaUpdateRPCHandler
- All Implemented Interfaces:
org.apache.thrift.async.AsyncMethodCallback<TSStatus>
-
Field Summary
Fields inherited from class org.apache.iotdb.commons.client.request.AsyncRequestRPCHandler
countDownLatch, formattedTargetLocation, nodeLocationMap, requestId, requestType, responseMap, targetNode -
Constructor Summary
ConstructorsConstructorDescriptionSchemaUpdateRPCHandler(CnToDnAsyncRequestType requestType, int requestId, TDataNodeLocation targetDataNode, Map<Integer, TDataNodeLocation> dataNodeLocationMap, Map<Integer, TSStatus> responseMap, CountDownLatch countDownLatch) -
Method Summary
Methods inherited from class org.apache.iotdb.confignode.client.async.handlers.rpc.DataNodeAsyncRequestRPCHandler
buildHandler, generateFormattedTargetLocation
-
Constructor Details
-
SchemaUpdateRPCHandler
public SchemaUpdateRPCHandler(CnToDnAsyncRequestType requestType, int requestId, TDataNodeLocation targetDataNode, Map<Integer, TDataNodeLocation> dataNodeLocationMap, Map<Integer, TSStatus> responseMap, CountDownLatch countDownLatch)
-
-
Method Details
-
onComplete
- Specified by:
onCompletein interfaceorg.apache.thrift.async.AsyncMethodCallback<TSStatus>- Overrides:
onCompletein classDataNodeTSStatusRPCHandler
-
onError
- Specified by:
onErrorin interfaceorg.apache.thrift.async.AsyncMethodCallback<TSStatus>- Overrides:
onErrorin classDataNodeTSStatusRPCHandler
-