public static class MetricsConnection.CallStats extends Object
Modifier and Type | Field and Description |
---|---|
private long |
callTimeMs |
private int |
concurrentCallsPerServer |
private long |
requestSizeBytes |
private long |
responseSizeBytes |
private long |
startTime |
Constructor and Description |
---|
CallStats() |
Modifier and Type | Method and Description |
---|---|
long |
getCallTimeMs() |
int |
getConcurrentCallsPerServer() |
long |
getRequestSizeBytes() |
long |
getResponseSizeBytes() |
long |
getStartTime() |
void |
setCallTimeMs(long callTimeMs) |
void |
setConcurrentCallsPerServer(int callsPerServer) |
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
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)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.