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

Method isolate

src/slave/containerizer/mesos/isolator_tracker.cpp:83–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81
82
83Future<Nothing> IsolatorTracker::isolate(
84 const ContainerID& containerId,
85 pid_t pid)
86{
87 return tracker->track(
88 isolator->isolate(containerId, pid),
89 strings::format("%s::isolate", isolatorName).get(),
90 COMPONENT_NAME_CONTAINERIZER,
91 {{"containerId", stringify(containerId)},
92 {"pid", stringify(pid)}});
93}
94
95
96Future<ContainerLimitation> IsolatorTracker::watch(

Callers

nothing calls this directly

Calls 4

formatFunction · 0.85
trackMethod · 0.80
stringifyFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected