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

Method apply

src/master/master.cpp:11662–11668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11660
11661
11662Future<Nothing> Master::apply(Slave* slave, const Offer::Operation& operation)
11663{
11664 CHECK_NOTNULL(slave);
11665
11666 return allocator->updateAvailable(slave->id, {operation})
11667 .onReady(defer(self(), &Master::_apply, slave, nullptr, operation));
11668}
11669
11670
11671void Master::_apply(

Callers 15

_startMaintenanceMethod · 0.45
_stopMaintenanceMethod · 0.45
_drainAgentMethod · 0.45
_deactivateAgentMethod · 0.45
_reactivateAgentMethod · 0.45
_operationMethod · 0.45
_markAgentGoneMethod · 0.45
_recoverMethod · 0.45
doRegistryGcMethod · 0.45
foreachFunction · 0.45

Calls 4

deferFunction · 0.85
updateAvailableMethod · 0.45
getMethod · 0.45
filterMethod · 0.45

Tested by

no test coverage detected