public class Stats extends Object
HttpBenchmark
.Constructor and Description |
---|
Stats() |
Modifier and Type | Method and Description |
---|---|
long |
getContentLength() |
int |
getFailureCount() |
int |
getKeepAliveCount() |
String |
getServerName() |
int |
getSuccessCount() |
long |
getTotalBytesRecv() |
long |
getTotalBytesSent() |
long |
getTotalContentLength() |
ProtocolVersion |
getVersion() |
void |
incFailureCount() |
void |
incKeepAliveCount() |
void |
incSuccessCount() |
void |
incTotalBytesRecv(int n) |
void |
incTotalBytesSent(int n) |
void |
incTotalContentLength(long n) |
void |
setContentLength(long n) |
void |
setServerName(String serverName) |
void |
setVersion(ProtocolVersion version) |
String |
toString() |
public void incSuccessCount()
public int getSuccessCount()
public void incFailureCount()
public int getFailureCount()
public void incKeepAliveCount()
public int getKeepAliveCount()
public void incTotalBytesRecv(int n)
public long getTotalBytesRecv()
public void incTotalBytesSent(int n)
public long getTotalBytesSent()
public void setContentLength(long n)
public void incTotalContentLength(long n)
public long getContentLength()
public long getTotalContentLength()
public void setServerName(String serverName)
public String getServerName()
public ProtocolVersion getVersion()
public void setVersion(ProtocolVersion version)
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.