Package org.apache.storm.generated
Class DistributedRPCInvocations.AsyncClient
java.lang.Object
org.apache.storm.thrift.async.TAsyncClient
org.apache.storm.generated.DistributedRPCInvocations.AsyncClient
- All Implemented Interfaces:
- DistributedRPCInvocations.AsyncIface
- Enclosing class:
- DistributedRPCInvocations
public static class DistributedRPCInvocations.AsyncClient
extends org.apache.storm.thrift.async.TAsyncClient
implements DistributedRPCInvocations.AsyncIface
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic class
- 
Field SummaryFields inherited from class org.apache.storm.thrift.async.TAsyncClient___currentMethod, ___manager, ___protocolFactory, ___transport
- 
Constructor SummaryConstructorsConstructorDescriptionAsyncClient(org.apache.storm.thrift.protocol.TProtocolFactory protocolFactory, org.apache.storm.thrift.async.TAsyncClientManager clientManager, org.apache.storm.thrift.transport.TNonblockingTransport transport) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidfailRequest(String id, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) voidfailRequestV2(String id, DRPCExecutionException e, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) voidfetchRequest(String functionName, org.apache.storm.thrift.async.AsyncMethodCallback<DRPCRequest> resultHandler) voidresult(String id, String result, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) Methods inherited from class org.apache.storm.thrift.async.TAsyncClientcheckReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout
- 
Constructor Details- 
AsyncClientpublic AsyncClient(org.apache.storm.thrift.protocol.TProtocolFactory protocolFactory, org.apache.storm.thrift.async.TAsyncClientManager clientManager, org.apache.storm.thrift.transport.TNonblockingTransport transport) 
 
- 
- 
Method Details- 
resultpublic void result(String id, String result, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException - Specified by:
- resultin interface- DistributedRPCInvocations.AsyncIface
- Throws:
- org.apache.storm.thrift.TException
 
- 
fetchRequestpublic void fetchRequest(String functionName, org.apache.storm.thrift.async.AsyncMethodCallback<DRPCRequest> resultHandler) throws org.apache.storm.thrift.TException - Specified by:
- fetchRequestin interface- DistributedRPCInvocations.AsyncIface
- Throws:
- org.apache.storm.thrift.TException
 
- 
failRequestpublic void failRequest(String id, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException - Specified by:
- failRequestin interface- DistributedRPCInvocations.AsyncIface
- Throws:
- org.apache.storm.thrift.TException
 
- 
failRequestV2public void failRequestV2(String id, DRPCExecutionException e, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException - Specified by:
- failRequestV2in interface- DistributedRPCInvocations.AsyncIface
- Throws:
- org.apache.storm.thrift.TException
 
 
-