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

Function foreachvalue

src/master/quota_handler.cpp:249–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247 if (master->roles.contains(role)) {
248 Role* roleState = master->roles.at(role);
249 foreachvalue (const Framework* framework, roleState->frameworks) {
250 if (framework->connected() && framework->active()) {
251 ++frameworksInRole;
252 }
253 }
254 }
255
256 // The resources recovered by rescinding outstanding offers.

Callers 1

foreachFunction · 0.70

Calls 10

copyFunction · 0.85
activeMethod · 0.80
foreachFunction · 0.70
connectedMethod · 0.65
containsMethod · 0.45
unallocateMethod · 0.45
resourcesMethod · 0.45
rescindOfferMethod · 0.45
scalarsMethod · 0.45
nonRevocableMethod · 0.45

Tested by

no test coverage detected