Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
138
Task* Framework::getTask(const TaskID& taskId)
139
{
140
if (tasks.count(taskId) > 0) {
141
return tasks[taskId];
142
}
143
144
return nullptr;
145
}
146
147
148
void Framework::addTask(Task* task)
Callers
nothing calls this directly
Calls
1
count
Method · 0.45
Tested by
no test coverage detected