MCPcopy Create free account
hub / github.com/Tencent/phxsql / DataManager

Method DataManager

phxbinlogsvr/core/agent/data_manager.cpp:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35namespace phxbinlog {
36
37DataManager::DataManager(const Option *option) {
38 event_agent_ = PaxosAgentManager::GetGlobalPaxosAgentManager(option)->GetEventAgent();
39 event_manager_ = EventManager::GetGlobalEventManager(option);
40 replica_manager_ = new ReplicationManager(option);
41 option_ = option;
42 LogVerbose("%s init data manager done", __func__);
43}
44
45DataManager::~DataManager() {
46 delete replica_manager_, replica_manager_ = NULL;

Callers

nothing calls this directly

Calls 2

LogVerboseFunction · 0.85
GetEventAgentMethod · 0.80

Tested by

no test coverage detected