MCPcopy Create free account
hub / github.com/apache/mesos / createDetector

Method createDetector

src/tests/cluster.cpp:400–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398
399
400process::Owned<MasterDetector> Master::createDetector()
401{
402 if (zookeeperUrl.isSome()) {
403 return process::Owned<MasterDetector>(
404 new ZooKeeperMasterDetector(zookeeperUrl.get()));
405 }
406
407 return process::Owned<MasterDetector>(new StandaloneMasterDetector(pid));
408}
409
410
411MasterInfo Master::getMasterInfo()

Callers 15

TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_PFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_PFunction · 0.80

Calls 2

isSomeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected