Class SyncDataNodeInternalServiceClient

  • All Implemented Interfaces:
    java.lang.AutoCloseable, ThriftClient, org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.Iface

    public class SyncDataNodeInternalServiceClient
    extends org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.Client
    implements ThriftClient, java.lang.AutoCloseable
    • Field Summary

      • Fields inherited from class org.apache.thrift.TServiceClient

        iprot_, oprot_, seqid_
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      ClientManager<org.apache.iotdb.common.rpc.thrift.TEndPoint,​SyncDataNodeInternalServiceClient> getClientManager()  
      org.apache.iotdb.common.rpc.thrift.TEndPoint getTEndpoint()  
      int getTimeout()  
      void invalidate()
      Close this connection.
      void invalidateAll()
      Removing all pooled instances corresponding to current instance's endpoint.
      void setTimeout​(int timeout)  
      java.lang.String toString()  
      • Methods inherited from class org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService.Client

        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, recv_activeTriggerInstance, recv_addRegionPeer, recv_cancelFragmentInstance, recv_cancelPlanFragment, recv_cancelQuery, recv_changeRegionLeader, recv_clearCache, recv_constructSchemaBlackList, recv_constructSchemaBlackListWithTemplate, recv_countPathsUsingTemplate, recv_createDataRegion, recv_createFunction, recv_createNewRegionPeer, recv_createPipeOnDataNode, recv_createSchemaRegion, recv_createTriggerInstance, recv_deactivateTemplate, recv_deleteDataForDeleteSchema, recv_deleteModelMetrics, recv_deleteOldRegionPeer, recv_deleteRegion, recv_deleteTimeSeries, recv_disableDataNode, recv_dropFunction, recv_dropTriggerInstance, recv_executeCQ, recv_fetchFragmentInstanceInfo, recv_fetchSchema, recv_fetchSchemaBlackList, recv_fetchTimeseries, recv_fetchWindowBatch, recv_fireTrigger, recv_flush, recv_getDataNodeHeartBeat, recv_inactiveTriggerInstance, recv_invalidateMatchedSchemaCache, recv_invalidatePartitionCache, recv_invalidatePermissionCache, recv_invalidateSchemaCache, recv_killQueryInstance, recv_loadConfiguration, recv_merge, recv_operatePipeOnDataNode, recv_operatePipeOnDataNodeForRollback, recv_recordModelMetrics, recv_removeRegionPeer, recv_rollbackSchemaBlackList, recv_rollbackSchemaBlackListWithTemplate, recv_sendBatchPlanNode, recv_sendFragmentInstance, recv_sendLoadCommand, recv_sendTsFilePieceNode, recv_setSystemStatus, recv_settle, recv_setTTL, recv_stopDataNode, recv_updateConfigNodeGroup, recv_updateRegionCache, recv_updateTemplate, recv_updateTriggerLocation, removeRegionPeer, rollbackSchemaBlackList, rollbackSchemaBlackListWithTemplate, send_activeTriggerInstance, send_addRegionPeer, send_cancelFragmentInstance, send_cancelPlanFragment, send_cancelQuery, send_changeRegionLeader, send_clearCache, send_constructSchemaBlackList, send_constructSchemaBlackListWithTemplate, send_countPathsUsingTemplate, send_createDataRegion, send_createFunction, send_createNewRegionPeer, send_createPipeOnDataNode, send_createSchemaRegion, send_createTriggerInstance, send_deactivateTemplate, send_deleteDataForDeleteSchema, send_deleteModelMetrics, send_deleteOldRegionPeer, send_deleteRegion, send_deleteTimeSeries, send_disableDataNode, send_dropFunction, send_dropTriggerInstance, send_executeCQ, send_fetchFragmentInstanceInfo, send_fetchSchema, send_fetchSchemaBlackList, send_fetchTimeseries, send_fetchWindowBatch, send_fireTrigger, send_flush, send_getDataNodeHeartBeat, send_inactiveTriggerInstance, send_invalidateMatchedSchemaCache, send_invalidatePartitionCache, send_invalidatePermissionCache, send_invalidateSchemaCache, send_killQueryInstance, send_loadConfiguration, send_merge, send_operatePipeOnDataNode, send_operatePipeOnDataNodeForRollback, send_recordModelMetrics, send_removeRegionPeer, send_rollbackSchemaBlackList, send_rollbackSchemaBlackListWithTemplate, send_sendBatchPlanNode, send_sendFragmentInstance, send_sendLoadCommand, send_sendTsFilePieceNode, send_setSystemStatus, send_settle, send_setTTL, send_stopDataNode, send_updateConfigNodeGroup, send_updateRegionCache, send_updateTemplate, send_updateTriggerLocation, sendBatchPlanNode, sendFragmentInstance, sendLoadCommand, sendTsFilePieceNode, setSystemStatus, settle, setTTL, stopDataNode, updateConfigNodeGroup, updateRegionCache, updateTemplate, updateTriggerLocation
      • Methods inherited from class org.apache.thrift.TServiceClient

        getInputProtocol, getOutputProtocol, receiveBase, sendBase, sendBaseOneway
      • Methods inherited from class java.lang.Object

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

      • SyncDataNodeInternalServiceClient

        public SyncDataNodeInternalServiceClient​(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
                                                 int connectionTimeout,
                                                 org.apache.iotdb.common.rpc.thrift.TEndPoint endpoint,
                                                 ClientManager<org.apache.iotdb.common.rpc.thrift.TEndPoint,​SyncDataNodeInternalServiceClient> clientManager)
                                          throws org.apache.thrift.transport.TTransportException
        Throws:
        org.apache.thrift.transport.TTransportException
    • Method Detail

      • getTimeout

        public int getTimeout()
                       throws java.net.SocketException
        Throws:
        java.net.SocketException
      • setTimeout

        public void setTimeout​(int timeout)
      • getTEndpoint

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

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • 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
      • toString

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