Class AsyncDataNodeMPPDataExchangeServiceClient
- java.lang.Object
-
- org.apache.thrift.async.TAsyncClient
-
- org.apache.iotdb.mpp.rpc.thrift.MPPDataExchangeService.AsyncClient
-
- org.apache.iotdb.commons.client.async.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 classAsyncDataNodeMPPDataExchangeServiceClient.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
-
-
Constructor Summary
Constructors Constructor Description 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)
-
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.voidonComplete()voidonError(java.lang.Exception e)java.lang.StringtoString()-
Methods inherited from class org.apache.iotdb.mpp.rpc.thrift.MPPDataExchangeService.AsyncClient
getDataBlock, onAcknowledgeDataBlockEvent, onCloseSinkChannelEvent, onEndOfDataBlockEvent, onNewDataBlockEvent
-
-
-
-
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:
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
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-