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

Function foreachkey

src/master/master.cpp:1167–1171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1165 allocator->removeSlave(slave->id);
1166
1167 foreachkey (const FrameworkID& frameworkId, utils::copy(slave->tasks)) {
1168 foreachvalue (Task* task, utils::copy(slave->tasks[frameworkId])) {
1169 removeTask(task);
1170 }
1171 }
1172
1173 // Remove executors.
1174 foreachkey (const FrameworkID& frameworkId, utils::copy(slave->executors)) {

Callers

nothing calls this directly

Calls 15

copyFunction · 0.85
createStatusUpdateFunction · 0.85
NoneClass · 0.85
insertMethod · 0.80
CopyFromMethod · 0.80
MergeFromMethod · 0.80
recoveredMethod · 0.80
atMethod · 0.80
foreachvalueFunction · 0.70
connectedMethod · 0.65
UPIDClass · 0.50
containsMethod · 0.45

Tested by

no test coverage detected