Home
last modified time | relevance | path

Searched refs:cachekey (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/plugins/sysevent_source/control/
H A Ddaily_controller.cpp120 return cache_[cachekey].threshold; in GetThreshold()
122 int32_t threshold = config_->GetThreshold(cachekey.first, cachekey.second, type); in GetThreshold()
133 return cache_[cachekey].count; in GetCount()
137 .domain = cachekey.first, in GetCount()
138 .name = cachekey.second, in GetCount()
154 cachekey.first.c_str(), cachekey.second.c_str()); in UpdateCacheAndDb()
158 UpdateDb(cachekey, count, exceedTime); in UpdateCacheAndDb()
164 cache_[cachekey] = { in UpdateCache()
172 cache_[cachekey].count = count; in UpdateCache()
183 .domain = cachekey.first, in UpdateDb()
[all …]
/ohos5.0/base/hiviewdfx/hiview/plugins/sysevent_source/control/include/
H A Ddaily_controller.h43 int32_t GetThreshold(const CacheKey& cachekey, int32_t type);
44 int32_t GetCount(const CacheKey& cachekey);
45 void UpdateCacheAndDb(const CacheKey& cachekey, int32_t threshold, int32_t count);
46 … void UpdateCache(const CacheKey& cachekey, int32_t threshold, int32_t count, int64_t exceedTime);
47 void UpdateDb(const CacheKey& cachekey, int32_t count, int64_t exceedTime);
/ohos5.0/docs/zh-cn/application-dev/performance/
H A Dperformance-web-import.md453 3. 在页面将要加载的JavaScript文件中,发起POST请求,设置请求响应头ArkWebPostCacheKey为对应预取时设置的cachekey值'KeyX'
548 2. 将要加载的页面中,js正式发起POST请求,设置请求响应头ArkWebPostCacheKey为对应预取时设置的cachekey值'KeyX'