Home
last modified time | relevance | path

Searched refs:executors (Results 1 - 25 of 91) sorted by relevance

1234

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/dfx/src/
H A Dhiview_adapter.h40 static void ReportFault(int dfxCode, const FaultMsg &msg, std::shared_ptr<ExecutorPool> executors);
41 static void ReportDBFault(int dfxCode, const DBFaultMsg &msg, std::shared_ptr<ExecutorPool> executors);
42 static void ReportCommFault(int dfxCode, const CommFaultMsg &msg, std::shared_ptr<ExecutorPool> executors);
43 static void ReportVisitStatistic(int dfxCode, const VisitStat &stat, std::shared_ptr<ExecutorPool> executors);
44 static void ReportTrafficStatistic(int dfxCode, const TrafficStat &stat, std::shared_ptr<ExecutorPool> executors);
45 static void ReportDatabaseStatistic(int dfxCode, const DbStat &stat, std::shared_ptr<ExecutorPool> executors);
47 std::shared_ptr<ExecutorPool> executors);
48 static void ReportBehaviour(int dfxCode, const BehaviourMsg &msg, std::shared_ptr<ExecutorPool> executors);
49 static void ReportUdmfBehaviour(int dfxCode, const UdmfBehaviourMsg &msg, std::shared_ptr<ExecutorPool> executors);
50 static void StartTimerThread(std::shared_ptr<ExecutorPool> executors);
[all...]
H A Dhiview_adapter.cpp90 void HiViewAdapter::ReportFault(int dfxCode, const FaultMsg &msg, std::shared_ptr<ExecutorPool> executors) in ReportFault() argument
119 executors->Execute(std::move(task)); in ReportFault()
122 void HiViewAdapter::ReportDBFault(int dfxCode, const DBFaultMsg &msg, std::shared_ptr<ExecutorPool> executors) in ReportDBFault() argument
151 executors->Execute(std::move(task)); in ReportDBFault()
154 void HiViewAdapter::ReportCommFault(int dfxCode, const CommFaultMsg &msg, std::shared_ptr<ExecutorPool> executors) in ReportCommFault() argument
189 executors->Execute(std::move(task)); in ReportCommFault()
192 void HiViewAdapter::ReportBehaviour(int dfxCode, const BehaviourMsg &msg, std::shared_ptr<ExecutorPool> executors) in ReportBehaviour() argument
224 executors->Execute(std::move(task)); in ReportBehaviour()
227 void HiViewAdapter::ReportDatabaseStatistic(int dfxCode, const DbStat &stat, std::shared_ptr<ExecutorPool> executors) in ReportDatabaseStatistic() argument
235 executors in ReportDatabaseStatistic()
302 ReportTrafficStatistic(int dfxCode, const TrafficStat &stat, std::shared_ptr<ExecutorPool> executors) ReportTrafficStatistic() argument
358 ReportVisitStatistic(int dfxCode, const VisitStat &stat, std::shared_ptr<ExecutorPool> executors) ReportVisitStatistic() argument
406 ReportApiPerformanceStatistic(int dfxCode, const ApiPerformanceStat &stat, std::shared_ptr<ExecutorPool> executors) ReportApiPerformanceStatistic() argument
432 ReportUdmfBehaviour( int dfxCode, const UdmfBehaviourMsg &msg, std::shared_ptr<ExecutorPool> executors) ReportUdmfBehaviour() argument
508 StartTimerThread(std::shared_ptr<ExecutorPool> executors) StartTimerThread() argument
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/include/dfx/
H A Dreporter.h43 void SetThreadPool(std::shared_ptr<ExecutorPool> executors) in SetThreadPool() argument
45 executors_ = executors; in SetThreadPool()
46 if (executors != nullptr) { in SetThreadPool()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/dfx/src/fault/
H A Dcommunication_fault_impl.cpp25 void CommunicationFaultImpl::SetThreadPool(std::shared_ptr<ExecutorPool> executors) in SetThreadPool() argument
27 executors_ = executors; in SetThreadPool()
H A Dservice_fault_impl.cpp25 void ServiceFaultImpl::SetThreadPool(std::shared_ptr<ExecutorPool> executors) in SetThreadPool() argument
27 executors_ = executors; in SetThreadPool()
H A Druntime_fault_impl.cpp25 void RuntimeFaultImpl::SetThreadPool(std::shared_ptr<ExecutorPool> executors) in SetThreadPool() argument
27 executors_ = executors; in SetThreadPool()
H A Ddatabase_fault_impl.cpp36 void DatabaseFaultImpl::SetThreadPool(std::shared_ptr<ExecutorPool> executors) in SetThreadPool() argument
38 executors_ = executors; in SetThreadPool()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/dfx/src/statistic/
H A Dtraffic_statistic_impl.cpp25 void TrafficStatisticImpl::SetThreadPool(std::shared_ptr<ExecutorPool> executors) in SetThreadPool() argument
27 executors_ = executors; in SetThreadPool()
H A Dvisit_statistic_impl.cpp25 void VisitStatisticImpl::SetThreadPool(std::shared_ptr<ExecutorPool> executors) in SetThreadPool() argument
27 executors_ = executors; in SetThreadPool()
H A Dapi_performance_statistic_impl.cpp25 void ApiPerformanceStatisticImpl::SetThreadPool(std::shared_ptr<ExecutorPool> executors) in SetThreadPool() argument
27 executors_ = executors; in SetThreadPool()
H A Ddatabase_statistic_impl.cpp25 void DatabaseStatisticImpl::SetThreadPool(std::shared_ptr<ExecutorPool> executors) in SetThreadPool() argument
27 executors_ = executors; in SetThreadPool()
H A Dtraffic_statistic_impl.h28 void SetThreadPool(std::shared_ptr<ExecutorPool> executors);
/foundation/distributeddatamgr/kv_store/frameworks/common/test/
H A Dexecutor_pool_test.cpp174 auto executors = std::make_shared<ExecutorPool>(1, 0); in HWTEST_F() local
182 executors->Schedule(std::chrono::milliseconds(SHORT_INTERVAL * 2), delayTask); in HWTEST_F()
184 executors->Execute(task); in HWTEST_F()
200 auto executors = std::make_shared<ExecutorPool>(1, 1); in HWTEST_F() local
203 taskId = executors->Schedule( in HWTEST_F()
204 [executors, &taskId, &flag]() { in HWTEST_F()
206 executors->Remove(taskId, false); in HWTEST_F()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/dfx/src/behaviour/
H A Dbehaviour_reporter_impl.cpp31 void BehaviourReporterImpl::SetThreadPool(std::shared_ptr<ExecutorPool> executors) in SetThreadPool() argument
33 executors_ = executors; in SetThreadPool()
H A Dbehaviour_reporter_impl.h29 void SetThreadPool(std::shared_ptr<ExecutorPool> executors);
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/
H A Dkvstore_account_observer.h38 std::shared_ptr<ExecutorPool> executors) in KvStoreAccountObserver()
39 : kvStoreDataService_(kvStoreDataService), executors_(executors) in KvStoreAccountObserver()
37 KvStoreAccountObserver(KvStoreDataService &kvStoreDataService, std::shared_ptr<ExecutorPool> executors) KvStoreAccountObserver() argument
H A Dtask_manager.cpp18 TaskManager::TaskManager(std::shared_ptr<ExecutorPool> executors) : executors_(executors) in TaskManager() argument
H A Dkvstore_meta_manager.cpp244 auto backup = [executors = executors_, queue = std::make_shared<SafeBlockQueue<Backup>>(MAX_TASK_COUNT), fullName]( in GetMetaKvStore()
252 executors->Schedule(std::chrono::hours(RETRY_INTERVAL), GetBackupTask(queue, executors, store)); in GetMetaKvStore()
260 TaskQueue queue, std::shared_ptr<ExecutorPool> executors, const NbDelegate store) in GetBackupTask()
262 return [queue, executors, store]() { in GetBackupTask()
268 executors->Schedule(std::chrono::hours(RETRY_INTERVAL), GetBackupTask(queue, executors, store)); in GetBackupTask()
445 void KvStoreMetaManager::BindExecutor(std::shared_ptr<ExecutorPool> executors)
447 executors_ = executors;
259 GetBackupTask( TaskQueue queue, std::shared_ptr<ExecutorPool> executors, const NbDelegate store) GetBackupTask() argument
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/security/
H A Dsecurity.h37 explicit Security(std::shared_ptr<ExecutorPool> executors) : executors_(executors) {}; in Security() argument
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dtask_executor.cpp68 void TaskExecutor::SetExecutors(std::shared_ptr<ExecutorPool> executors) in SetExecutors() argument
72 pool_ = std::move(executors); in SetExecutors()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/store/
H A Dstore_cache.cpp90 void StoreCache::SetThreadPool(std::shared_ptr<ExecutorPool> executors) in SetThreadPool() argument
92 executorPool_ = executors; in SetThreadPool()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/test/unittest/
H A Dkvstore_data_service_clear_test.cpp129 auto executors = std::make_shared<ExecutorPool>(2, 1); in HWTEST_F() local
131 KvStoreMetaManager::GetInstance().BindExecutor(executors); in HWTEST_F()
133 DmAdapter::GetInstance().Init(executors); in HWTEST_F()
H A Dsession_manager_test.cpp65 auto executors = std::make_shared<ExecutorPool>(12, 5); in SetUpTestCase() local
69 KvStoreMetaManager::GetInstance().BindExecutor(executors); in SetUpTestCase()
72 DeviceManagerAdapter::GetInstance().Init(executors); in SetUpTestCase()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dobject_asset_loader_test.cpp104 std::shared_ptr<ExecutorPool> executors = std::make_shared<ExecutorPool>(5, 3); in HWTEST_F() local
105 ASSERT_NE(executors, nullptr); in HWTEST_F()
106 assetLoader->SetThreadPool(executors); in HWTEST_F()
H A Dmeta_data_test.cpp102 auto executors = std::make_shared<OHOS::ExecutorPool>(max, min); in SetUpTestCase() local
103 DmAdapter::GetInstance().Init(executors); in SetUpTestCase()
104 DistributedKv::KvStoreMetaManager::GetInstance().BindExecutor(executors); in SetUpTestCase()

Completed in 8 milliseconds

1234