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