Class ClientCoprocessorRpcController

java.lang.Object
org.apache.hadoop.hbase.client.ClientCoprocessorRpcController
All Implemented Interfaces:
com.google.protobuf.RpcController

@Private public class ClientCoprocessorRpcController extends Object implements com.google.protobuf.RpcController
Client side rpc controller for coprocessor implementation. It is only used to pass error.
  • Field Details

  • Constructor Details

  • Method Details

    • reset

      public void reset()
      Specified by:
      reset in interface com.google.protobuf.RpcController
    • failed

      public boolean failed()
      Specified by:
      failed in interface com.google.protobuf.RpcController
    • errorText

      public String errorText()
      Specified by:
      errorText in interface com.google.protobuf.RpcController
    • startCancel

      public void startCancel()
      Specified by:
      startCancel in interface com.google.protobuf.RpcController
    • setFailed

      public void setFailed(String reason)
      Specified by:
      setFailed in interface com.google.protobuf.RpcController
    • isCanceled

      public boolean isCanceled()
      Specified by:
      isCanceled in interface com.google.protobuf.RpcController
    • notifyOnCancel

      public void notifyOnCancel(com.google.protobuf.RpcCallback<Object> callback)
      Specified by:
      notifyOnCancel in interface com.google.protobuf.RpcController
    • setFailed

      public void setFailed(Throwable error)
    • getFailed

      public Throwable getFailed()