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

Method AddIORoutine

phxsqlproxy/io_routine.cpp:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38int IORoutineMgr::AddIORoutine(IORoutine * io_routine_ptr) {
39 MonitorPluginEntry::GetDefault()->GetMonitorPlugin()->RecycleRoutine();
40 io_routine_stack_.push(io_routine_ptr);
41 return 0;
42}
43
44PHXSqlProxyConfig * IORoutineMgr::GetConfig() {
45 return config_;

Callers 1

runMethod · 0.80

Calls 2

RecycleRoutineMethod · 0.80
GetMonitorPluginMethod · 0.80

Tested by

no test coverage detected