public class HttpPressTestX.HttpPressResult extends Object
| 构造器和说明 |
|---|
HttpPressResult(String url,
int thread_num,
int client_num)
Instantiates a new Http press result.
|
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getAvgCostTime() |
int |
getClient_num()
Gets client num.
|
List<Long> |
getCostTimes()
Gets cost times.
|
long |
getMaxCostTime() |
long |
getMinCostTime() |
int |
getSuccessCount()
Gets success count.
|
long |
getSumCostTime() |
int |
getThread_num()
Gets thread num.
|
String |
getUrl()
Gets url.
|
void |
setAvgCostTime(long avgCostTime) |
void |
setClient_num(int client_num)
Sets client num.
|
void |
setCostTimes(List<Long> costTimes)
Sets cost times.
|
void |
setMaxCostTime(long maxCostTime) |
void |
setMinCostTime(long minCostTime) |
void |
setSuccessCount(int successCount)
Sets success count.
|
void |
setSumCostTime(long sumCostTime) |
void |
setThread_num(int thread_num)
Sets thread num.
|
void |
setUrl(String url)
Sets url.
|
public HttpPressResult(String url, int thread_num, int client_num)
url - the urlthread_num - the thread numclient_num - the client numpublic String getUrl()
public void setUrl(String url)
url - the urlpublic int getThread_num()
public void setThread_num(int thread_num)
thread_num - the thread numpublic int getClient_num()
public void setClient_num(int client_num)
client_num - the client numpublic int getSuccessCount()
public void setSuccessCount(int successCount)
successCount - the success countpublic void setCostTimes(List<Long> costTimes)
costTimes - the cost timespublic long getAvgCostTime()
public void setAvgCostTime(long avgCostTime)
public long getMaxCostTime()
public void setMaxCostTime(long maxCostTime)
public long getMinCostTime()
public void setMinCostTime(long minCostTime)
public long getSumCostTime()
public void setSumCostTime(long sumCostTime)
Copyright © 2020. All rights reserved.