public class DRPCThrift extends Object implements DistributedRPC.Iface, DistributedRPCInvocations.Iface
Constructor and Description |
---|
DRPCThrift(DRPC drpc) |
Modifier and Type | Method and Description |
---|---|
String |
execute(String functionName,
String funcArgs) |
void |
failRequest(String id) |
void |
failRequestV2(String id,
DRPCExecutionException e) |
DRPCRequest |
fetchRequest(String functionName) |
void |
result(String id,
String result) |
public DRPCThrift(DRPC drpc)
public void result(String id, String result) throws AuthorizationException
result
in interface DistributedRPCInvocations.Iface
AuthorizationException
public DRPCRequest fetchRequest(String functionName) throws AuthorizationException
fetchRequest
in interface DistributedRPCInvocations.Iface
AuthorizationException
public void failRequest(String id) throws AuthorizationException
failRequest
in interface DistributedRPCInvocations.Iface
AuthorizationException
public void failRequestV2(String id, DRPCExecutionException e) throws AuthorizationException
failRequestV2
in interface DistributedRPCInvocations.Iface
AuthorizationException
public String execute(String functionName, String funcArgs) throws DRPCExecutionException, AuthorizationException
execute
in interface DistributedRPC.Iface
DRPCExecutionException
AuthorizationException
Copyright © 2022 The Apache Software Foundation. All rights reserved.