Class SyncDataNodeMPPDataExchangeServiceClient

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

    public class SyncDataNodeMPPDataExchangeServiceClient
    extends org.apache.iotdb.mpp.rpc.thrift.MPPDataExchangeService.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()  
      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.MPPDataExchangeService.Client

        getDataBlock, onAcknowledgeDataBlockEvent, onCloseSinkChannelEvent, onEndOfDataBlockEvent, onNewDataBlockEvent, recv_getDataBlock, recv_onAcknowledgeDataBlockEvent, recv_onCloseSinkChannelEvent, recv_onEndOfDataBlockEvent, recv_onNewDataBlockEvent, send_getDataBlock, send_onAcknowledgeDataBlockEvent, send_onCloseSinkChannelEvent, send_onEndOfDataBlockEvent, send_onNewDataBlockEvent
      • 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

      • SyncDataNodeMPPDataExchangeServiceClient

        public SyncDataNodeMPPDataExchangeServiceClient​(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
                                                        int connectionTimeout,
                                                        org.apache.iotdb.common.rpc.thrift.TEndPoint endpoint,
                                                        ClientManager<org.apache.iotdb.common.rpc.thrift.TEndPoint,​SyncDataNodeMPPDataExchangeServiceClient> 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)
      • 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