MCPcopy Create free account
hub / github.com/alibaba/graph-learn / BuildBasicService

Method BuildBasicService

graphlearn/src/service/server_impl.cc:96–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96void ServerImpl::BuildBasicService() {
97 if (in_memory_service_) {
98 in_memory_service_->Build();
99 }
100 if (dist_service_) {
101 Status s = dist_service_->Build();
102 if (!s.ok()) {
103 USER_LOG("Server build failed and exit now.");
104 USER_LOG(s.ToString());
105 LOG(FATAL) << "DistributeService build failed: " << s.ToString();
106 ::exit(-1);
107 }
108 }
109}
110
111void ServerImpl::StopBasicService() {
112 if (in_memory_service_) {

Callers

nothing calls this directly

Calls 3

BuildMethod · 0.45
okMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected