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.IfaceAuthorizationExceptionpublic DRPCRequest fetchRequest(String functionName) throws AuthorizationException
fetchRequest in interface DistributedRPCInvocations.IfaceAuthorizationExceptionpublic void failRequest(String id) throws AuthorizationException
failRequest in interface DistributedRPCInvocations.IfaceAuthorizationExceptionpublic void failRequestV2(String id, DRPCExecutionException e) throws AuthorizationException
failRequestV2 in interface DistributedRPCInvocations.IfaceAuthorizationExceptionpublic String execute(String functionName, String funcArgs) throws DRPCExecutionException, AuthorizationException
execute in interface DistributedRPC.IfaceDRPCExecutionExceptionAuthorizationExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.