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

Method getTask

src/master/framework.cpp:138–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136
137
138Task* Framework::getTask(const TaskID& taskId)
139{
140 if (tasks.count(taskId) > 0) {
141 return tasks[taskId];
142 }
143
144 return nullptr;
145}
146
147
148void Framework::addTask(Task* task)

Callers

nothing calls this directly

Calls 1

countMethod · 0.45

Tested by

no test coverage detected