public static class DistributedRPCInvocations.AsyncClient extends org.apache.storm.thrift.async.TAsyncClient implements DistributedRPCInvocations.AsyncIface
| Modifier and Type | Class and Description |
|---|---|
static class |
DistributedRPCInvocations.AsyncClient.Factory |
static class |
DistributedRPCInvocations.AsyncClient.failRequest_call |
static class |
DistributedRPCInvocations.AsyncClient.failRequestV2_call |
static class |
DistributedRPCInvocations.AsyncClient.fetchRequest_call |
static class |
DistributedRPCInvocations.AsyncClient.result_call |
| Constructor and Description |
|---|
AsyncClient(org.apache.storm.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.storm.thrift.async.TAsyncClientManager clientManager,
org.apache.storm.thrift.transport.TNonblockingTransport transport) |
| Modifier and Type | Method and Description |
|---|---|
void |
failRequest(String id,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
failRequestV2(String id,
DRPCExecutionException e,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
fetchRequest(String functionName,
org.apache.storm.thrift.async.AsyncMethodCallback<DRPCRequest> resultHandler) |
void |
result(String id,
String result,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
public AsyncClient(org.apache.storm.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.storm.thrift.async.TAsyncClientManager clientManager,
org.apache.storm.thrift.transport.TNonblockingTransport transport)
public void result(String id, String result, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
result in interface DistributedRPCInvocations.AsyncIfaceorg.apache.storm.thrift.TExceptionpublic void fetchRequest(String functionName, org.apache.storm.thrift.async.AsyncMethodCallback<DRPCRequest> resultHandler) throws org.apache.storm.thrift.TException
fetchRequest in interface DistributedRPCInvocations.AsyncIfaceorg.apache.storm.thrift.TExceptionpublic void failRequest(String id, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
failRequest in interface DistributedRPCInvocations.AsyncIfaceorg.apache.storm.thrift.TExceptionpublic void failRequestV2(String id, DRPCExecutionException e, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
failRequestV2 in interface DistributedRPCInvocations.AsyncIfaceorg.apache.storm.thrift.TExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.