public class RequestSummary extends AbstractModel
Constructor and Description |
---|
RequestSummary() |
RequestSummary(RequestSummary source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Float |
getAverage()
Get 请求响应平均耗时,单位秒
|
Long |
getCount()
Get 请求次数
|
Float |
getErrorPercentage()
Get 请求错误率
|
Float |
getMax()
Get 请求最大耗时,单位秒
|
String |
getMethod()
Get 请求方法
|
Float |
getMin()
Get 请求最小耗时,单位秒
|
Float |
getP90()
Get 请求p90耗时,单位秒
|
Float |
getP95()
Get 请求p95耗时,单位秒
|
Float |
getP99()
Get 请求p99耗时,单位秒
|
String |
getResult()
Get 响应详情
|
String |
getService()
Get 请求URL
|
String |
getStatus()
Get 响应状态码
|
void |
setAverage(Float Average)
Set 请求响应平均耗时,单位秒
|
void |
setCount(Long Count)
Set 请求次数
|
void |
setErrorPercentage(Float ErrorPercentage)
Set 请求错误率
|
void |
setMax(Float Max)
Set 请求最大耗时,单位秒
|
void |
setMethod(String Method)
Set 请求方法
|
void |
setMin(Float Min)
Set 请求最小耗时,单位秒
|
void |
setP90(Float P90)
Set 请求p90耗时,单位秒
|
void |
setP95(Float P95)
Set 请求p95耗时,单位秒
|
void |
setP99(Float P99)
Set 请求p99耗时,单位秒
|
void |
setResult(String Result)
Set 响应详情
|
void |
setService(String Service)
Set 请求URL
|
void |
setStatus(String Status)
Set 响应状态码
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public RequestSummary()
public RequestSummary(RequestSummary source)
public String getService()
public void setService(String Service)
Service
- 请求URLpublic String getMethod()
public void setMethod(String Method)
Method
- 请求方法public Long getCount()
public void setCount(Long Count)
Count
- 请求次数public Float getAverage()
public void setAverage(Float Average)
Average
- 请求响应平均耗时,单位秒public Float getP90()
public void setP90(Float P90)
P90
- 请求p90耗时,单位秒public Float getP95()
public void setP95(Float P95)
P95
- 请求p95耗时,单位秒public Float getMin()
public void setMin(Float Min)
Min
- 请求最小耗时,单位秒public Float getMax()
public void setMax(Float Max)
Max
- 请求最大耗时,单位秒public Float getErrorPercentage()
public void setErrorPercentage(Float ErrorPercentage)
ErrorPercentage
- 请求错误率public Float getP99()
public void setP99(Float P99)
P99
- 请求p99耗时,单位秒public String getStatus()
public void setStatus(String Status)
Status
- 响应状态码public String getResult()
public void setResult(String Result)
Result
- 响应详情Copyright © 2022. All rights reserved.