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

Method removed

src/linux/cgroups.cpp:1597–1608  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1595 }
1596
1597 void removed(const Future<Nothing>& removeAll)
1598 {
1599 if (removeAll.isReady()) {
1600 promise.set(Nothing());
1601 } else if (removeAll.isDiscarded()) {
1602 promise.discard();
1603 } else if (removeAll.isFailed()) {
1604 promise.fail("Failed to remove cgroups: " + removeAll.failure());
1605 }
1606
1607 terminate(self());
1608 }
1609
1610 const string hierarchy;
1611 const vector<string> cgroups;

Callers

nothing calls this directly

Calls 9

NothingClass · 0.85
isReadyMethod · 0.80
isDiscardedMethod · 0.80
isFailedMethod · 0.80
failureMethod · 0.80
terminateFunction · 0.50
setMethod · 0.45
discardMethod · 0.45
failMethod · 0.45

Tested by

no test coverage detected