MCPcopy Create free account
hub / github.com/apache/brpc / IsRunning

Method IsRunning

src/brpc/server.h:549–549  ·  view source on GitHub ↗

Return true iff this server is serving requests.

Source from the content-addressed store, hash-verified

547
548 // Return true iff this server is serving requests.
549 bool IsRunning() const { return status() == RUNNING; }
550
551 // Return the first service added to this server. If a service was once
552 // returned by first_service() and then removed, first_service() will

Callers 9

NotifyMethod · 0.80
TEST_FFunction · 0.80
ProcessHttpRequestFunction · 0.80
ProcessSofaRequestFunction · 0.80
ProcessNsheadRequestFunction · 0.80
ProcessThriftRequestFunction · 0.80
ProcessMongoRequestFunction · 0.80
ProcessRpcRequestFunction · 0.80
ProcessHuluRequestFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64