Class AsyncDataNodeMPPDataExchangeServiceClient

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

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

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

        org.apache.iotdb.mpp.rpc.thrift.MPPDataExchangeService.AsyncClient.getDataBlock_call, org.apache.iotdb.mpp.rpc.thrift.MPPDataExchangeService.AsyncClient.onAcknowledgeDataBlockEvent_call, org.apache.iotdb.mpp.rpc.thrift.MPPDataExchangeService.AsyncClient.onCloseSinkChannelEvent_call, org.apache.iotdb.mpp.rpc.thrift.MPPDataExchangeService.AsyncClient.onEndOfDataBlockEvent_call, org.apache.iotdb.mpp.rpc.thrift.MPPDataExchangeService.AsyncClient.onNewDataBlockEvent_call
    • Field Summary

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

        ___currentMethod, ___manager, ___protocolFactory, ___transport
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void invalidate()
      Close this connection.
      void invalidateAll()
      Removing all pooled instances corresponding to current instance's endpoint.
      void onComplete()  
      void onError​(java.lang.Exception e)  
      java.lang.String toString()  
      • Methods inherited from class org.apache.iotdb.mpp.rpc.thrift.MPPDataExchangeService.AsyncClient

        getDataBlock, onAcknowledgeDataBlockEvent, onCloseSinkChannelEvent, onEndOfDataBlockEvent, onNewDataBlockEvent
      • 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

      • AsyncDataNodeMPPDataExchangeServiceClient

        public AsyncDataNodeMPPDataExchangeServiceClient​(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,​AsyncDataNodeMPPDataExchangeServiceClient> clientManager)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • 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
      • toString

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