@Deprecated @InterfaceAudience.Private class CoprocessorBlockingRpcCallback<R> extends Object implements org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<R>
Modifier and Type | Field and Description |
---|---|
private R |
result
Deprecated.
|
private boolean |
resultSet
Deprecated.
|
Constructor and Description |
---|
CoprocessorBlockingRpcCallback()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
R |
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. |
CoprocessorBlockingRpcCallback()
public void run(R parameter)
null
in the case of
an error.run
in interface org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<R>
parameter
- the response object or null
if an error occurredpublic R get() throws IOException
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.null
if no response was passedIOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.