Home
last modified time | relevance | path

Searched refs:StoreCache (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/store/
H A Dstore_cache.h29 class StoreCache {
32 static StoreCache &GetInstance();
36 StoreCache() {} in StoreCache() function
38 ~StoreCache() {} in ~StoreCache()
40 StoreCache(const StoreCache &obj) = delete;
41 StoreCache &operator=(const StoreCache &obj) = delete;
H A Dstore_cache.cpp27 StoreCache &StoreCache::GetInstance() in GetInstance()
29 static StoreCache instance; in GetInstance()
33 std::shared_ptr<Store> StoreCache::GetStore(std::string intention) in GetStore()
66 …taskId_ = executorPool_->Schedule(std::chrono::minutes(INTERVAL), std::bind(&StoreCache::GarbageCo… in GetStore()
71 void StoreCache::GarbageCollect() in GarbageCollect()
84 …taskId_ = executorPool_->Schedule(std::chrono::minutes(INTERVAL), std::bind(&StoreCache::GarbageCo… in GarbageCollect()
90 void StoreCache::SetThreadPool(std::shared_ptr<ExecutorPool> executors) in SetThreadPool()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/lifecycle/
H A Dlifecycle_policy.cpp28 auto store = StoreCache::GetInstance().GetStore(key.intention); in OnGot()
42 auto store = StoreCache::GetInstance().GetStore(intention); in OnStart()
56 auto store = StoreCache::GetInstance().GetStore(intention); in OnTimeout()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/
H A Dudmf_service_impl.cpp134 auto store = StoreCache::GetInstance().GetStore(intention); in SaveData()
186 auto store = StoreCache::GetInstance().GetStore(key.intention); in RetrieveData()
356 auto store = StoreCache::GetInstance().GetStore(key.intention); in UpdateData()
439 auto store = StoreCache::GetInstance().GetStore(key.intention); in GetSummary()
477 auto store = StoreCache::GetInstance().GetStore(key.intention); in AddPrivilege()
517 auto store = StoreCache::GetInstance().GetStore(key.intention); in Sync()
581 auto store = StoreCache::GetInstance().GetStore(intention); in SetAppShareOption()
607 auto store = StoreCache::GetInstance().GetStore(intention); in GetAppShareOption()
637 auto store = StoreCache::GetInstance().GetStore(intention); in RemoveAppShareOption()
682 store = StoreCache::GetInstance().GetStore(intention); in QueryDataCommon()
[all …]