Class ClientCoprocessorRpcController

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

@Private public class ClientCoprocessorRpcController extends Object implements org.apache.hbase.thirdparty.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 org.apache.hbase.thirdparty.com.google.protobuf.RpcController
    • failed

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

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

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

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

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

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

      public void setFailed(Throwable error)
    • getFailed

      public Throwable getFailed()