public static class MetricsConnection.CallStats extends Object
Modifier and Type | Field and Description |
---|---|
private long |
callTimeMs |
private int |
concurrentCallsPerServer |
private int |
numActionsPerServer |
private long |
requestSizeBytes |
private long |
responseSizeBytes |
private long |
startTime |
Constructor and Description |
---|
CallStats() |
Modifier and Type | Method and Description |
---|---|
long |
getCallTimeMs() |
int |
getConcurrentCallsPerServer() |
int |
getNumActionsPerServer() |
long |
getRequestSizeBytes() |
long |
getResponseSizeBytes() |
long |
getStartTime() |
void |
setCallTimeMs(long callTimeMs) |
void |
setConcurrentCallsPerServer(int callsPerServer) |
void |
setNumActionsPerServer(int numActionsPerServer) |
void |
setRequestSizeBytes(long requestSizeBytes) |
void |
setResponseSizeBytes(long responseSizeBytes) |
void |
setStartTime(long startTime) |
private long requestSizeBytes
private long responseSizeBytes
private long startTime
private long callTimeMs
private int concurrentCallsPerServer
private int numActionsPerServer
public CallStats()
public long getRequestSizeBytes()
public void setRequestSizeBytes(long requestSizeBytes)
public long getResponseSizeBytes()
public void setResponseSizeBytes(long responseSizeBytes)
public long getStartTime()
public void setStartTime(long startTime)
public long getCallTimeMs()
public void setCallTimeMs(long callTimeMs)
public int getConcurrentCallsPerServer()
public void setConcurrentCallsPerServer(int callsPerServer)
public int getNumActionsPerServer()
public void setNumActionsPerServer(int numActionsPerServer)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.