Home
last modified time | relevance | path

Searched refs:LruCacheKey (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/base/event_store/store/include/
H A Dsys_event_doc_lru_cache.h32 typedef std::pair<std::string, std::string> LruCacheKey; typedef
38 bool Contain(const LruCacheKey& key) const;
39 LruCacheValue Get(const LruCacheKey& key);
40 bool Add(const LruCacheKey& key, const LruCacheValue& value);
41 bool Remove(const LruCacheKey& key);
45 typedef std::pair<std::list<LruCacheKey>::iterator, LruCacheValue> LruCacheValuePair;
54 std::list<LruCacheKey> lruList_;
55 std::unordered_map<LruCacheKey, LruCacheValuePair, LruCacheKeyHashfunc> lruCache_;
/ohos5.0/base/hiviewdfx/hiview/base/event_store/store/
H A Dsys_event_doc_lru_cache.cpp23 bool SysEventDocLruCache::Contain(const LruCacheKey& key) const in Contain()
28 SysEventDocLruCache::LruCacheValue SysEventDocLruCache::Get(const LruCacheKey& key) in Get()
42 bool SysEventDocLruCache::Add(const LruCacheKey& key, const LruCacheValue& value) in Add()
58 bool SysEventDocLruCache::Remove(const LruCacheKey& key) in Remove()