Class AsyncConfigNodeHeartbeatServiceClient
- java.lang.Object
-
- org.apache.thrift.async.TAsyncClient
-
- org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient
-
- org.apache.iotdb.commons.client.async.AsyncConfigNodeHeartbeatServiceClient
-
- All Implemented Interfaces:
ThriftClient,org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncIface
public class AsyncConfigNodeHeartbeatServiceClient extends org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient implements ThriftClient
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAsyncConfigNodeHeartbeatServiceClient.Factory-
Nested classes/interfaces inherited from class org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient
org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.addConsensusGroup_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.alterDatabase_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.checkUserPrivileges_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.clearCache_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.countMatchedDatabases_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.createCQ_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.createFunction_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.createModel_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.createPipe_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.createPipeSink_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.createSchemaTemplate_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.createTrigger_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.deactivateSchemaTemplate_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.deleteConfigNodePeer_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.deleteDatabase_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.deleteDatabases_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.deleteTimeSeries_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.dropCQ_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.dropFunction_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.dropModel_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.dropPipe_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.dropPipeSink_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.dropSchemaTemplate_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.dropTrigger_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.flush_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getAllPipeInfo_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getAllTemplates_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getConfigNodeHeartBeat_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getDataNodeConfiguration_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getDataPartitionTable_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getLatestRegionRouteMap_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getLocationOfStatefulTrigger_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getMatchedDatabaseSchemas_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getOrCreateDataPartitionTable_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getOrCreateSchemaPartitionTable_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getPathsSetTemplate_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getPipeSink_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getRegionId_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getRunningDataNodeLocations_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getSchemaNodeManagementPartition_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getSchemaPartitionTable_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getSeriesSlotList_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getStatefulTriggerTable_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getSystemConfiguration_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getTemplate_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getTimeSlotList_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getTriggerJar_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getTriggerTable_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getUDFJar_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.getUDFTable_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.killQuery_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.loadConfiguration_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.login_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.merge_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.migrateRegion_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.notifyRegisterSuccess_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.operatePermission_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.queryPermission_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.recordPipeMessage_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.registerConfigNode_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.registerDataNode_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.removeConfigNode_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.removeDataNode_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.reportConfigNodeShutdown_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.reportDataNodeShutdown_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.reportRegionMigrateResult_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.restartConfigNode_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.restartDataNode_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.setDatabase_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.setDataNodeStatus_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.setDataReplicationFactor_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.setSchemaReplicationFactor_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.setSchemaTemplate_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.setSystemStatus_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.setTimePartitionInterval_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.setTTL_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.showCluster_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.showConfigNodes_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.showCQ_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.showDatabase_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.showDataNodes_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.showModel_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.showPipe_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.showRegion_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.showTrail_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.showVariables_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.startPipe_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.stopConfigNode_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.stopPipe_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.unsetSchemaTemplate_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.updateModelInfo_call, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient.updateModelState_call
-
-
Field Summary
-
Fields inherited from class org.apache.thrift.async.TAsyncClient
___currentMethod, ___manager, ___protocolFactory, ___transport
-
Fields inherited from interface org.apache.iotdb.commons.client.ThriftClient
logger
-
-
Constructor Summary
Constructors Constructor Description AsyncConfigNodeHeartbeatServiceClient(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,AsyncConfigNodeHeartbeatServiceClient> clientManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.confignode.rpc.thrift.IConfigNodeRPCService.AsyncClient
addConsensusGroup, alterDatabase, checkUserPrivileges, clearCache, countMatchedDatabases, createCQ, createFunction, createModel, createPipe, createPipeSink, createSchemaTemplate, createTrigger, deactivateSchemaTemplate, deleteConfigNodePeer, deleteDatabase, deleteDatabases, deleteTimeSeries, dropCQ, dropFunction, dropModel, dropPipe, dropPipeSink, dropSchemaTemplate, dropTrigger, flush, getAllPipeInfo, getAllTemplates, getConfigNodeHeartBeat, getDataNodeConfiguration, getDataPartitionTable, getLatestRegionRouteMap, getLocationOfStatefulTrigger, getMatchedDatabaseSchemas, getOrCreateDataPartitionTable, getOrCreateSchemaPartitionTable, getPathsSetTemplate, getPipeSink, getRegionId, getRunningDataNodeLocations, getSchemaNodeManagementPartition, getSchemaPartitionTable, getSeriesSlotList, getStatefulTriggerTable, getSystemConfiguration, getTemplate, getTimeSlotList, getTriggerJar, getTriggerTable, getUDFJar, getUDFTable, killQuery, loadConfiguration, login, merge, migrateRegion, notifyRegisterSuccess, operatePermission, queryPermission, recordPipeMessage, registerConfigNode, registerDataNode, removeConfigNode, removeDataNode, reportConfigNodeShutdown, reportDataNodeShutdown, reportRegionMigrateResult, restartConfigNode, restartDataNode, setDatabase, setDataNodeStatus, setDataReplicationFactor, setSchemaReplicationFactor, setSchemaTemplate, setSystemStatus, setTimePartitionInterval, setTTL, showCluster, showConfigNodes, showCQ, showDatabase, showDataNodes, showModel, showPipe, showRegion, showTrail, showVariables, startPipe, stopConfigNode, stopPipe, unsetSchemaTemplate, updateModelInfo, updateModelState
-
-
-
-
Constructor Detail
-
AsyncConfigNodeHeartbeatServiceClient
public AsyncConfigNodeHeartbeatServiceClient(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,AsyncConfigNodeHeartbeatServiceClient> clientManager) throws java.io.IOException- Throws:
java.io.IOException
-
-
Method Detail
-
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
-
-