Class TestTokenAuthentication.NonShadedBlockingRpcCallback<R>
java.lang.Object
org.apache.hadoop.hbase.security.token.TestTokenAuthentication.NonShadedBlockingRpcCallback<R>
- All Implemented Interfaces:
com.google.protobuf.RpcCallback<R>
- Enclosing class:
- TestTokenAuthentication
private static class TestTokenAuthentication.NonShadedBlockingRpcCallback<R>
extends Object
implements com.google.protobuf.RpcCallback<R>
A copy of the BlockingRpcCallback class for use locally. Only difference is that it makes use
of non-shaded protobufs; i.e. refers to com.google.protobuf.* rather than to
org.apache.hbase.thirdparty.com.google.protobuf.*
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget()
Returns the parameter passed torun(Object)
ornull
if a null value was passed.void
Called on completion of the RPC call with the response object, ornull
in the case of an error.
-
Field Details
-
result
-
resultSet
-
-
Constructor Details
-
NonShadedBlockingRpcCallback
private NonShadedBlockingRpcCallback()
-
-
Method Details
-
run
Called on completion of the RPC call with the response object, ornull
in the case of an error.- Specified by:
run
in interfacecom.google.protobuf.RpcCallback<R>
- Parameters:
parameter
- the response object ornull
if an error occurred
-
get
Returns the parameter passed torun(Object)
ornull
if a null value was passed. When used asynchronously, this method will block until therun(Object)
method has been called.- Returns:
- the response object or
null
if no response was passed - Throws:
IOException
-