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

Method SlaveIORoutine

phxsqlproxy/io_routine.cpp:188–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188SlaveIORoutine::SlaveIORoutine(IORoutineMgr * routine_mgr, GroupStatusCache * group_status_cache) :
189 IORoutine(routine_mgr) {
190 PHXSqlProxyConfig * config = routine_mgr->GetConfig();
191 WorkerConfig_t * worker_config = config->GetSlaveWorkerConfig();
192 io_router_ = new SlaveIORouter(config, worker_config, group_status_cache);
193 io_channel_ = new SlaveIOChannel(config, worker_config, group_status_cache);
194 proxy_protocol_handler_ = new ProxyProtocolHandler(config, worker_config, group_status_cache);
195}
196
197SlaveIORoutine::~SlaveIORoutine() {
198}

Callers

nothing calls this directly

Calls 2

GetSlaveWorkerConfigMethod · 0.80
GetConfigMethod · 0.45

Tested by

no test coverage detected