MCPcopy Create free account
hub / github.com/Tencent/phxqueue / StoreClient

Method StoreClient

phxqueue_phxrpc/app/store/store_client.cpp:46–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46StoreClient::StoreClient() {
47 static std::mutex monitor_mutex;
48 if (!global_storeclient_monitor_.get()) {
49 monitor_mutex.lock();
50 if (!global_storeclient_monitor_.get()) {
51 global_storeclient_monitor_ = phxrpc::MonitorFactory::GetFactory()
52 ->CreateClientMonitor(GetPackageName());
53 }
54 global_storeclient_config_.SetClientMonitor(global_storeclient_monitor_);
55 monitor_mutex.unlock();
56 }
57}
58
59StoreClient::~StoreClient() {}
60

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected