public class LocalDRPC extends Object implements ILocalDRPC
Constructor and Description |
---|
LocalDRPC() |
Modifier and Type | Method and Description |
---|---|
String |
execute(String functionName,
String funcArgs) |
void |
failRequest(String id) |
DRPCRequest |
fetchRequest(String functionName) |
String |
getServiceId() |
void |
result(String id,
String result) |
void |
shutdown() |
public String getServiceId()
getServiceId
in interface ILocalDRPC
public void result(String id, String result) throws AuthorizationException, org.apache.thrift.TException
result
in interface DistributedRPCInvocations.Iface
AuthorizationException
org.apache.thrift.TException
public String execute(String functionName, String funcArgs) throws DRPCExecutionException, AuthorizationException, org.apache.thrift.TException
execute
in interface DistributedRPC.Iface
DRPCExecutionException
AuthorizationException
org.apache.thrift.TException
public void failRequest(String id) throws AuthorizationException, org.apache.thrift.TException
failRequest
in interface DistributedRPCInvocations.Iface
AuthorizationException
org.apache.thrift.TException
public void shutdown()
shutdown
in interface Shutdownable
public DRPCRequest fetchRequest(String functionName) throws AuthorizationException, org.apache.thrift.TException
fetchRequest
in interface DistributedRPCInvocations.Iface
AuthorizationException
org.apache.thrift.TException
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.