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

Method getOperation

src/master/master.cpp:12840–12853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12838
12839
12840Operation* Slave::getOperation(const UUID& uuid) const
12841{
12842 if (operations.contains(uuid)) {
12843 return operations.at(uuid);
12844 }
12845
12846 foreachvalue (const ResourceProvider& resourceProvider, resourceProviders) {
12847 if (resourceProvider.operations.contains(uuid)) {
12848 return resourceProvider.operations.at(uuid);
12849 }
12850 }
12851
12852 return nullptr;
12853}
12854
12855
12856void Slave::addOffer(Offer* offer)

Callers 4

foreachpairFunction · 0.45
updateOperationStatusMethod · 0.45
foreachFunction · 0.45

Calls 2

atMethod · 0.80
containsMethod · 0.45

Tested by

no test coverage detected