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

Method cleanup

src/slave/task_status_update_manager.cpp:287–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285
286
287void TaskStatusUpdateManagerProcess::cleanup(const FrameworkID& frameworkId)
288{
289 LOG(INFO) << "Closing task status update streams for framework "
290 << frameworkId;
291
292 if (streams.contains(frameworkId)) {
293 foreachkey (const TaskID& taskId, utils::copy(streams[frameworkId])) {
294 cleanupStatusUpdateStream(taskId, frameworkId);
295 }
296 }
297}
298
299
300Future<Nothing> TaskStatusUpdateManagerProcess::update(

Callers 1

removeFrameworkMethod · 0.45

Calls 2

dispatchFunction · 0.50
containsMethod · 0.45

Tested by

no test coverage detected