|
|||||||||
| Home >> All >> org >> apache >> http >> contrib >> [ benchmark overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.http.contrib.benchmark
Class Stats

java.lang.Objectorg.apache.http.contrib.benchmark.Stats
- public class Stats
- extends java.lang.Object
- Since:
- 4.0
- Version:
- $Revision: 376458 $
| Field Summary | |
private long |
contentLength
|
private int |
failureCount
|
private long |
finishTime
|
private java.lang.String |
serverName
|
private long |
startTime
|
private int |
successCount
|
private long |
total
|
| Constructor Summary | |
Stats()
|
|
| Method Summary | |
void |
finish()
|
long |
getContentLength()
|
long |
getDuration()
|
int |
getFailureCount()
|
long |
getFinishTime()
|
java.lang.String |
getServerName()
|
long |
getStartTime()
|
int |
getSuccessCount()
|
long |
getTotal()
|
void |
incFailureCount()
|
void |
incSuccessCount()
|
void |
incTotal(int n)
|
void |
setContentLength(long contentLength)
|
void |
setServerName(java.lang.String serverName)
|
void |
start()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
startTime
private long startTime
finishTime
private long finishTime
successCount
private int successCount
failureCount
private int failureCount
serverName
private java.lang.String serverName
total
private long total
contentLength
private long contentLength
| Constructor Detail |
Stats
public Stats()
| Method Detail |
start
public void start()
finish
public void finish()
getFinishTime
public long getFinishTime()
getStartTime
public long getStartTime()
getDuration
public long getDuration()
incSuccessCount
public void incSuccessCount()
incFailureCount
public void incFailureCount()
getFailureCount
public int getFailureCount()
getSuccessCount
public int getSuccessCount()
getTotal
public long getTotal()
incTotal
public void incTotal(int n)
getContentLength
public long getContentLength()
setContentLength
public void setContentLength(long contentLength)
getServerName
public java.lang.String getServerName()
setServerName
public void setServerName(java.lang.String serverName)
|
|||||||||
| Home >> All >> org >> apache >> http >> contrib >> [ benchmark overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.http.contrib.benchmark.Stats