Package org.apache.hadoop.hbase.client
Class OnlineLogRecord
java.lang.Object
org.apache.hadoop.hbase.client.LogEntry
org.apache.hadoop.hbase.client.OnlineLogRecord
Slow/Large Log payload for hbase-client, to be used by Admin API get_slow_responses and
get_large_responses
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
org.apache.hadoop.hbase.client.OnlineLogRecord.OnlineLogRecordBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
long
Return the amount of block bytes scanned to retrieve the response cells.long
int
int
int
getParam()
int
int
long
Optional<org.apache.hadoop.hbase.client.Scan>
getScan()
If "hbase.slowlog.scan.payload.enabled" is enabled then this value may be present and should represent the Scan that produced the givenOnlineLogRecord
long
int
hashCode()
Based on response sent by server, provide pretty printed Json representation in stringtoString()
-
Method Details
-
getStartTime
-
getProcessingTime
-
getQueueTime
-
getResponseSize
-
getBlockBytesScanned
Return the amount of block bytes scanned to retrieve the response cells. -
getFsReadTime
-
getClientAddress
-
getServerClass
-
getMethodName
-
getCallDetails
-
getParam
-
getRegionName
-
getUserName
-
getMultiGetsCount
-
getMultiMutationsCount
-
getMultiServiceCalls
-
getScan
If "hbase.slowlog.scan.payload.enabled" is enabled then this value may be present and should represent the Scan that produced the givenOnlineLogRecord
-
getRequestAttributes
-
getConnectionAttributes
-
equals
-
hashCode
-
toJsonPrettyPrint
Description copied from class:LogEntry
Based on response sent by server, provide pretty printed Json representation in string- Specified by:
toJsonPrettyPrint
in classLogEntry
- Returns:
- Pretty printed Json representation
-
toString
-