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

Method hasExecutor

src/master/master.cpp:12892–12897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12890
12891
12892bool Slave::hasExecutor(const FrameworkID& frameworkId,
12893 const ExecutorID& executorId) const
12894{
12895 return executors.contains(frameworkId) &&
12896 executors.at(frameworkId).contains(executorId);
12897}
12898
12899
12900void Slave::addExecutor(const FrameworkID& frameworkId,

Callers 5

validateExecutorFunction · 0.45
isLaunchExecutorMethod · 0.45
exitedExecutorMethod · 0.45
removeExecutorMethod · 0.45

Calls 2

atMethod · 0.80
containsMethod · 0.45

Tested by

no test coverage detected