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

Method Rebuild

phxqueue/config/schedulerconfig.cpp:72–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70
71
72comm::RetCode SchedulerConfig::Rebuild() {
73 impl_->scheduler = nullptr;
74
75 auto &&proto = GetProto();
76 impl_->scheduler = make_shared<proto::Scheduler>(proto.scheduler());
77
78 return comm::RetCode::RET_OK;
79}
80
81
82comm::RetCode SchedulerConfig::GetScheduler(shared_ptr<const proto::Scheduler> &scheduler) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected