@InterfaceAudience.Private public class RpcLogDetails extends NamedQueuePayload
NamedQueuePayload.NamedQueueEvent
Modifier and Type | Field and Description |
---|---|
private long |
blockBytesScanned |
private String |
className |
private String |
clientAddress |
private Map<String,byte[]> |
connectionAttributes |
private long |
fsReadTime |
private boolean |
isLargeLog |
private boolean |
isSlowLog |
private static org.slf4j.Logger |
LOG |
private org.apache.hbase.thirdparty.com.google.protobuf.Message |
param |
private Map<String,byte[]> |
requestAttributes |
private long |
responseSize |
private RpcCall |
rpcCall |
static int |
SLOW_LOG_EVENT |
Constructor and Description |
---|
RpcLogDetails(RpcCall rpcCall,
org.apache.hbase.thirdparty.com.google.protobuf.Message param,
String clientAddress,
long responseSize,
long blockBytesScanned,
long fsReadTime,
String className,
boolean isSlowLog,
boolean isLargeLog) |
Modifier and Type | Method and Description |
---|---|
long |
getBlockBytesScanned() |
String |
getClassName() |
String |
getClientAddress() |
Map<String,byte[]> |
getConnectionAttributes() |
long |
getFsReadTime() |
org.apache.hbase.thirdparty.com.google.protobuf.Message |
getParam() |
Map<String,byte[]> |
getRequestAttributes() |
long |
getResponseSize() |
RpcCall |
getRpcCall() |
boolean |
isLargeLog() |
boolean |
isSlowLog() |
String |
toString() |
getNamedQueueEvent
public static final int SLOW_LOG_EVENT
private static final org.slf4j.Logger LOG
private org.apache.hbase.thirdparty.com.google.protobuf.Message param
private final String clientAddress
private final long responseSize
private final long blockBytesScanned
private final long fsReadTime
private final boolean isSlowLog
private final boolean isLargeLog
private final Map<String,byte[]> connectionAttributes
private final Map<String,byte[]> requestAttributes
public RpcLogDetails(RpcCall rpcCall, org.apache.hbase.thirdparty.com.google.protobuf.Message param, String clientAddress, long responseSize, long blockBytesScanned, long fsReadTime, String className, boolean isSlowLog, boolean isLargeLog)
public RpcCall getRpcCall()
public String getClientAddress()
public long getResponseSize()
public long getBlockBytesScanned()
public long getFsReadTime()
public String getClassName()
public boolean isSlowLog()
public boolean isLargeLog()
public org.apache.hbase.thirdparty.com.google.protobuf.Message getParam()
public Map<String,byte[]> getConnectionAttributes()
public Map<String,byte[]> getRequestAttributes()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.