public class HitRateRequest extends CommonFieldRequest
获取域名某一时间段内流量命中率、请求数命中率数据
支持按指定的起止时间查询,两者需要同时指定
支持批量域名查询,多个域名ID用逗号(半角)分隔
最多可获取最近一年内93天跨度的数据
说明
Hit访问次数=边缘请求数-回源请求数
Miss访问次数=回源请求数
Hit访问流量=边缘流量-回源流量
Miss访问流量=回源流量
| Constructor and Description |
|---|
HitRateRequest() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
buildParams()
生成get请求的请求参数
|
GeneralRequestParam |
getGeneralRequestParam()
未实现,留在子类中实现
|
getCdnType, getDomainIds, getEndTime, getGranularity, getStartTime, setCdnType, setDomainIds, setEndTime, setStartTimepublic Map<String,String> buildParams() throws KscClientException, ParseException
GeneralRequestbuildParams in interface GeneralRequestbuildParams in class CommonFieldRequestKscClientExceptionParseExceptionpublic GeneralRequestParam getGeneralRequestParam()
CommonFieldRequestgetGeneralRequestParam in interface GeneralRequestgetGeneralRequestParam in class CommonFieldRequestCopyright © 2023. All rights reserved.