@InterfaceAudience.Private public interface RpcCallContext
Modifier and Type | Method and Description |
---|---|
long |
disconnectSince()
Check if the caller who made this IPC call has disconnected.
|
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfo |
getClientVersionInfo() |
long |
getDeadline()
Return the deadline of this call.
|
InetAddress |
getRemoteAddress() |
User |
getRequestUser()
Returns the user credentials associated with the current RPC request or
null if no credentials were provided. |
String |
getRequestUserName() |
long |
getResponseBlockSize() |
long |
getResponseCellSize()
The size of response cells that have been accumulated so far.
|
long |
getResponseExceptionSize() |
void |
incrementResponseBlockSize(long blockSize) |
void |
incrementResponseCellSize(long cellSize)
Add on the given amount to the retained cell size.
|
void |
incrementResponseExceptionSize(long exceptionSize) |
boolean |
isClientCellBlockSupported()
If the client connected and specified a codec to use, then we will use this codec making
cellblocks to return.
|
boolean |
isRetryImmediatelySupported() |
long disconnectSince()
boolean isClientCellBlockSupported()
User getRequestUser()
null
if no credentials were provided.String getRequestUserName()
InetAddress getRemoteAddress()
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfo getClientVersionInfo()
boolean isRetryImmediatelySupported()
long getResponseCellSize()
void incrementResponseCellSize(long cellSize)
long getResponseBlockSize()
void incrementResponseBlockSize(long blockSize)
long getResponseExceptionSize()
void incrementResponseExceptionSize(long exceptionSize)
long getDeadline()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.