Class AsyncDataNodeInternalServiceClient
- java.lang.Object
-
- org.apache.thrift.async.TAsyncClient
-
- org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.AsyncClient
-
- org.apache.iotdb.commons.client.async.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 classAsyncDataNodeInternalServiceClient.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
-
-
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.TEndPointgetTEndpoint()voidinvalidate()Close this connection.voidinvalidateAll()Removing all pooled instances corresponding to current instance's endpoint.booleanisReady()voidonComplete()voidonError(java.lang.Exception e)java.lang.StringtoString()-
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
-
-
-
-
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()
-
getClientManager
public ClientManager<org.apache.iotdb.common.rpc.thrift.TEndPoint,AsyncDataNodeInternalServiceClient> getClientManager()
-
onComplete
public void onComplete()
- Overrides:
onCompletein classorg.apache.thrift.async.TAsyncClient
-
onError
public void onError(java.lang.Exception e)
- Overrides:
onErrorin classorg.apache.thrift.async.TAsyncClient
-
invalidate
public void invalidate()
Description copied from interface:ThriftClientClose this connection.- Specified by:
invalidatein interfaceThriftClient
-
invalidateAll
public void invalidateAll()
Description copied from interface:ThriftClientRemoving all pooled instances corresponding to current instance's endpoint.- Specified by:
invalidateAllin interfaceThriftClient
-
isReady
public boolean isReady()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-