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

Function foreachpair

src/slave/slave.cpp:4568–4572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4566 hashmap<UUID, Operation> operationsToCheckpoint;
4567
4568 foreachpair (const UUID& uuid, Operation* operation, operations) {
4569 if (operationNeedsCheckpointing(*operation)) {
4570 operationsToCheckpoint.put(uuid, *operation);
4571 }
4572 }
4573
4574 if (resourcesToCheckpoint == checkpointedResources &&
4575 operationsToCheckpoint == checkpointedOperations) {

Callers

nothing calls this directly

Calls 15

createOperationStatusFunction · 0.85
NoneClass · 0.85
randomFunction · 0.85
isSpeculativeOperationFunction · 0.85
isTerminalStateFunction · 0.85
toBytesMethod · 0.80
atMethod · 0.80
infoMethod · 0.80
CopyFromMethod · 0.80
sendFunction · 0.50
putMethod · 0.45

Tested by

no test coverage detected