@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() |
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.
|
void |
incrementResponseBlockSize(long blockSize) |
void |
incrementResponseCellSize(long cellSize)
Add on the given amount to the retained cell size.
|
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)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.