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

Function foreachvalue

src/slave/containerizer/fetcher.cpp:481–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

479 vector<Future<shared_ptr<Cache::Entry>>> futures;
480
481 foreachvalue (const Option<Future<shared_ptr<Cache::Entry>>>& entry,
482 entries) {
483 if (entry.isSome()) {
484 futures.push_back(entry.get());
485 }
486 }
487
488 return await(futures)
489 .then(defer(self(), [=]() {

Callers

nothing calls this directly

Calls 10

unreferenceMethod · 0.80
completionMethod · 0.80
adjustMethod · 0.80
errorMethod · 0.65
isSomeMethod · 0.45
getMethod · 0.45
isPendingMethod · 0.45
failMethod · 0.45
removeMethod · 0.45
completeMethod · 0.45

Tested by

no test coverage detected