public static class DistributedRPCInvocations.Client extends org.apache.storm.thrift.TServiceClient implements DistributedRPCInvocations.Iface
Modifier and Type | Class and Description |
---|---|
static class |
DistributedRPCInvocations.Client.Factory |
Constructor and Description |
---|
Client(org.apache.storm.thrift.protocol.TProtocol prot) |
Client(org.apache.storm.thrift.protocol.TProtocol iprot,
org.apache.storm.thrift.protocol.TProtocol oprot) |
Modifier and Type | Method and Description |
---|---|
void |
failRequest(String id) |
void |
failRequestV2(String id,
DRPCExecutionException e) |
DRPCRequest |
fetchRequest(String functionName) |
void |
recv_failRequest() |
void |
recv_failRequestV2() |
DRPCRequest |
recv_fetchRequest() |
void |
recv_result() |
void |
result(String id,
String result) |
void |
send_failRequest(String id) |
void |
send_failRequestV2(String id,
DRPCExecutionException e) |
void |
send_fetchRequest(String functionName) |
void |
send_result(String id,
String result) |
public Client(org.apache.storm.thrift.protocol.TProtocol prot)
public Client(org.apache.storm.thrift.protocol.TProtocol iprot, org.apache.storm.thrift.protocol.TProtocol oprot)
public void result(String id, String result) throws AuthorizationException, org.apache.storm.thrift.TException
result
in interface DistributedRPCInvocations.Iface
AuthorizationException
org.apache.storm.thrift.TException
public void send_result(String id, String result) throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
public void recv_result() throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
public DRPCRequest fetchRequest(String functionName) throws AuthorizationException, org.apache.storm.thrift.TException
fetchRequest
in interface DistributedRPCInvocations.Iface
AuthorizationException
org.apache.storm.thrift.TException
public void send_fetchRequest(String functionName) throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
public DRPCRequest recv_fetchRequest() throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
public void failRequest(String id) throws AuthorizationException, org.apache.storm.thrift.TException
failRequest
in interface DistributedRPCInvocations.Iface
AuthorizationException
org.apache.storm.thrift.TException
public void send_failRequest(String id) throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
public void recv_failRequest() throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
public void failRequestV2(String id, DRPCExecutionException e) throws AuthorizationException, org.apache.storm.thrift.TException
failRequestV2
in interface DistributedRPCInvocations.Iface
AuthorizationException
org.apache.storm.thrift.TException
public void send_failRequestV2(String id, DRPCExecutionException e) throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
public void recv_failRequestV2() throws AuthorizationException, org.apache.storm.thrift.TException
AuthorizationException
org.apache.storm.thrift.TException
Copyright © 2020 The Apache Software Foundation. All rights reserved.