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

Method GetGlobalEventManager

phxbinlogsvr/core/handler/event_manager.cpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28namespace phxbinlog {
29
30EventManager *EventManager::GetGlobalEventManager(const Option *option) {
31 static EventManager manager(option);
32 return &manager;
33}
34
35EventManager::EventManager(const Option *option) {
36 StorageManager *storage_manager = StorageManager::GetGlobalStorageManager(option);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected