public class PVRequest extends CommonFieldRequest
获取域名请求数数据,包括边缘请求数、回源请求数, 单位:次
支持按指定的起止时间查询,两者需要同时指定
支持批量域名查询,多个域名ID用逗号(半角)分隔
支持多区域查询,多个区域用逗号(半角)分隔
最多可获取最近三年内93天跨度的数据
统计粒度:5分钟粒度;10分钟粒度;20分钟粒度;1小时粒度;4小时粒度;8小时粒度;1天粒度;以上粒度均取该粒度时间段的请求数之和
说明:
请求数 :统计当前域名下资源文件的访问次数
| Constructor and Description |
|---|
PVRequest() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
buildParams()
生成get请求的请求参数
|
String |
getDataType() |
GeneralRequestParam |
getGeneralRequestParam()
未实现,留在子类中实现
|
String |
getGranularity() |
String |
getProtocolType() |
String |
getRegions() |
String |
getResultType() |
void |
setDataType(String dataType) |
void |
setGranularity(String granularity) |
void |
setProtocolType(String protocolType) |
void |
setRegions(String regions) |
void |
setResultType(String resultType) |
getCdnType, getDomainIds, getEndTime, getGranularity, getStartTime, setCdnType, setDomainIds, setEndTime, setStartTimepublic String getRegions()
public void setRegions(String regions)
public String getResultType()
public void setResultType(String resultType)
public String getGranularity()
public void setGranularity(String granularity)
public String getDataType()
public void setDataType(String dataType)
public String getProtocolType()
public void setProtocolType(String protocolType)
public 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.