Class CoprocessorBlockingRpcCallback<R>

java.lang.Object
org.apache.hadoop.hbase.client.CoprocessorBlockingRpcCallback<R>
All Implemented Interfaces:
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<R>

@Deprecated @Private class CoprocessorBlockingRpcCallback<R> extends Object implements org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<R>
Deprecated.
since 3.0.0, will be removed in 4.0.0 along with the coprocessor related methods in Table and Admin interface.
For implementation coprocessor related methods in Table and Admin interface.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private R
    Deprecated.
     
    private boolean
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Deprecated.
    Returns the parameter passed to run(Object) or null if a null value was passed.
    void
    run(R parameter)
    Deprecated.
    Called on completion of the RPC call with the response object, or null in the case of an error.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • result

      private R result
      Deprecated.
    • resultSet

      private boolean resultSet
      Deprecated.
  • Constructor Details

  • Method Details

    • run

      public void run(R parameter)
      Deprecated.
      Called on completion of the RPC call with the response object, or null in the case of an error.
      Specified by:
      run in interface org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<R>
      Parameters:
      parameter - the response object or null if an error occurred
    • get

      public R get() throws IOException
      Deprecated.
      Returns the parameter passed to run(Object) or null if a null value was passed. When used asynchronously, this method will block until the run(Object) method has been called.
      Returns:
      the response object or null if no response was passed
      Throws:
      IOException