MCPcopy Create free account
hub / github.com/apple/foundationdb / getRole

Method getRole

fdbserver/ClusterController.actor.cpp:96–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 RatekeeperSingleton(const Optional<RatekeeperInterface>& interface) : Singleton(interface) {}
95
96 Role getRole() const { return Role::RATEKEEPER; }
97 ProcessClass::ClusterRole getClusterRole() const { return ProcessClass::Ratekeeper; }
98
99 void setInterfaceToDbInfo(ClusterControllerData* cc) const {

Callers 2

isHealthySingletonFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected