You need to enable JavaScript to run this app.
文档中心
TrafficRoute DNS 套件

TrafficRoute DNS 套件

复制全文
下载 pdf
属性
maxAutoRefreshHostCount
复制全文
下载 pdf
maxAutoRefreshHostCount

前提条件

确保没有把 enableAutoRefreshWithHosts 属性 设为 NO,否则 maxAutoRefreshHostCount 属性无效。

定义

@property(nonatomic, assign) int maxAutoRefreshHostCount

作用

指定列表的记录数量。默认值为 10。

当客户端缓存中的某条解析记录过期时,SDK 将其加入列表。当列表中的记录数量达到指定数量时,SDK 才去批量刷新这些过期解析记录。

最近更新时间:2023.03.22 20:51:55
这个页面对您有帮助吗?
有用
有用
无用
无用