MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Join

Method Join

tensorflow/contrib/elastic_grpc_server/elastic_grpc_server_lib.cc:244–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244Status ElasticGrpcServer::Join() {
245 GrpcServer::Join();
246 mutex_lock l(mu_);
247 switch (state_) {
248 case NEW:
249 LOG(FATAL) << "Server shoud already closed";
250 case STARTED:
251 case STOPPED:
252 update_server_thread_.reset();
253 return Status::OK();
254 default:
255 LOG(FATAL);
256 }
257}
258
259/* static */
260Status ElasticGrpcServer::Create(const ServerDef& server_def, Env* env,

Callers

nothing calls this directly

Calls 2

JoinFunction · 0.50
resetMethod · 0.45

Tested by

no test coverage detected