Class AsyncDataNodeInternalServiceClient

  • All Implemented Interfaces:
    ThriftClient, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncIface

    public class AsyncDataNodeInternalServiceClient
    extends org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient
    implements ThriftClient
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  AsyncDataNodeInternalServiceClient.Factory  
      • Nested classes/interfaces inherited from class org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient

        org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.activeTriggerInstance_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.addRegionPeer_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.cancelFragmentInstance_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.cancelPlanFragment_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.cancelQuery_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.changeRegionLeader_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.clearCache_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.constructSchemaBlackList_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.constructSchemaBlackListWithTemplate_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.countPathsUsingTemplate_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.createDataRegion_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.createFunction_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.createNewRegionPeer_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.createPipeOnDataNode_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.createSchemaRegion_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.createTriggerInstance_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.deactivateTemplate_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.deleteDataForDeleteSchema_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.deleteModelMetrics_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.deleteOldRegionPeer_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.deleteRegion_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.deleteTimeSeries_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.disableDataNode_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.dropFunction_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.dropTriggerInstance_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.executeCQ_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.fetchFragmentInstanceInfo_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.fetchSchema_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.fetchSchemaBlackList_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.fetchTimeseries_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.fetchWindowBatch_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.fireTrigger_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.flush_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.getDataNodeHeartBeat_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.inactiveTriggerInstance_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.invalidateMatchedSchemaCache_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.invalidatePartitionCache_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.invalidatePermissionCache_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.invalidateSchemaCache_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.killQueryInstance_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.loadConfiguration_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.merge_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.operatePipeOnDataNode_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.operatePipeOnDataNodeForRollback_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.recordModelMetrics_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.removeRegionPeer_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.rollbackSchemaBlackList_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.rollbackSchemaBlackListWithTemplate_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.sendBatchPlanNode_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.sendFragmentInstance_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.sendLoadCommand_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.sendTsFilePieceNode_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.setSystemStatus_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.settle_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.setTTL_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.stopDataNode_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.updateConfigNodeGroup_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.updateRegionCache_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.updateTemplate_call, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient.updateTriggerLocation_call
    • Field Summary

      • Fields inherited from class org.apache.thrift.async.TAsyncClient

        ___currentMethod, ___manager, ___protocolFactory, ___transport
    • Constructor Summary

      Constructors 
      Constructor Description
      AsyncDataNodeInternalServiceClient​(org.apache.thrift.protocol.TProtocolFactory protocolFactory, int connectionTimeout, org.apache.iotdb.common.rpc.thrift.TEndPoint endpoint, org.apache.thrift.async.TAsyncClientManager tClientManager, ClientManager<org.apache.iotdb.common.rpc.thrift.TEndPoint,​AsyncDataNodeInternalServiceClient> clientManager)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ClientManager<org.apache.iotdb.common.rpc.thrift.TEndPoint,​AsyncDataNodeInternalServiceClient> getClientManager()  
      org.apache.iotdb.common.rpc.thrift.TEndPoint getTEndpoint()  
      void invalidate()
      Close this connection.
      void invalidateAll()
      Removing all pooled instances corresponding to current instance's endpoint.
      boolean isReady()  
      void onComplete()  
      void onError​(java.lang.Exception e)  
      java.lang.String toString()  
      • Methods inherited from class org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient

        activeTriggerInstance, addRegionPeer, cancelFragmentInstance, cancelPlanFragment, cancelQuery, changeRegionLeader, clearCache, constructSchemaBlackList, constructSchemaBlackListWithTemplate, countPathsUsingTemplate, createDataRegion, createFunction, createNewRegionPeer, createPipeOnDataNode, createSchemaRegion, createTriggerInstance, deactivateTemplate, deleteDataForDeleteSchema, deleteModelMetrics, deleteOldRegionPeer, deleteRegion, deleteTimeSeries, disableDataNode, dropFunction, dropTriggerInstance, executeCQ, fetchFragmentInstanceInfo, fetchSchema, fetchSchemaBlackList, fetchTimeseries, fetchWindowBatch, fireTrigger, flush, getDataNodeHeartBeat, inactiveTriggerInstance, invalidateMatchedSchemaCache, invalidatePartitionCache, invalidatePermissionCache, invalidateSchemaCache, killQueryInstance, loadConfiguration, merge, operatePipeOnDataNode, operatePipeOnDataNodeForRollback, recordModelMetrics, removeRegionPeer, rollbackSchemaBlackList, rollbackSchemaBlackListWithTemplate, sendBatchPlanNode, sendFragmentInstance, sendLoadCommand, sendTsFilePieceNode, setSystemStatus, settle, setTTL, stopDataNode, updateConfigNodeGroup, updateRegionCache, updateTemplate, updateTriggerLocation
      • Methods inherited from class org.apache.thrift.async.TAsyncClient

        checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, setTimeout
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AsyncDataNodeInternalServiceClient

        public AsyncDataNodeInternalServiceClient​(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
                                                  int connectionTimeout,
                                                  org.apache.iotdb.common.rpc.thrift.TEndPoint endpoint,
                                                  org.apache.thrift.async.TAsyncClientManager tClientManager,
                                                  ClientManager<org.apache.iotdb.common.rpc.thrift.TEndPoint,​AsyncDataNodeInternalServiceClient> clientManager)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getTEndpoint

        public org.apache.iotdb.common.rpc.thrift.TEndPoint getTEndpoint()
      • onComplete

        public void onComplete()
        Overrides:
        onComplete in class org.apache.thrift.async.TAsyncClient
      • onError

        public void onError​(java.lang.Exception e)
        Overrides:
        onError in class org.apache.thrift.async.TAsyncClient
      • invalidateAll

        public void invalidateAll()
        Description copied from interface: ThriftClient
        Removing all pooled instances corresponding to current instance's endpoint.
        Specified by:
        invalidateAll in interface ThriftClient
      • isReady

        public boolean isReady()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object