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

Method isPending

src/slave/slave.cpp:10785–10794  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10783
10784
10785bool Framework::isPending(const TaskID& taskId) const
10786{
10787 foreachkey (const ExecutorID& executorId, pendingTasks) {
10788 if (pendingTasks.at(executorId).contains(taskId)) {
10789 return true;
10790 }
10791 }
10792
10793 return false;
10794}
10795
10796
10797Option<TaskGroupInfo> Framework::getTaskGroupForPendingTask(

Callers 15

commandDiscardedFunction · 0.45
removeMethod · 0.45
applyOperationMethod · 0.45
applyDestroyDiskMethod · 0.45
processTcpCheckResultMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
TEST_FFunction · 0.45
TEST_PFunction · 0.45

Calls

no outgoing calls

Tested by 15

TEST_FFunction · 0.36
TEST_PFunction · 0.36
TEST_PFunction · 0.36
TEST_PFunction · 0.36
TYPED_TESTFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
foreachFunction · 0.36
TEST_PFunction · 0.36
TEST_PFunction · 0.36