@InterfaceAudience.Private public class ClientCoprocessorRpcController extends Object implements RpcController
| Constructor and Description |
|---|
ClientCoprocessorRpcController() |
| Modifier and Type | Method and Description |
|---|---|
String |
errorText() |
boolean |
failed() |
Throwable |
getFailed() |
boolean |
isCanceled() |
void |
notifyOnCancel(RpcCallback<Object> callback) |
void |
reset() |
void |
setFailed(String reason) |
void |
setFailed(Throwable error) |
void |
startCancel() |
public void reset()
reset in interface RpcControllerpublic boolean failed()
failed in interface RpcControllerpublic String errorText()
errorText in interface RpcControllerpublic void startCancel()
startCancel in interface RpcControllerpublic void setFailed(String reason)
setFailed in interface RpcControllerpublic boolean isCanceled()
isCanceled in interface RpcControllerpublic void notifyOnCancel(RpcCallback<Object> callback)
notifyOnCancel in interface RpcControllerpublic void setFailed(Throwable error)
public Throwable getFailed()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.