17 #ifndef __ISOLATOR_TRACKER_HPP__ 18 #define __ISOLATOR_TRACKER_HPP__ 34 const std::string& _isolatorName,
41 const std::vector<mesos::slave::ContainerState>& states,
45 const ContainerID& containerId,
46 const mesos::slave::ContainerConfig& containerConfig)
override;
49 const ContainerID& containerId,
53 const ContainerID& containerId)
override;
56 const ContainerID& containerId,
58 const google::protobuf::Map<
59 std::string, Value::Scalar>& resourceLimits = {})
override;
62 const ContainerID& containerId)
override;
65 const ContainerID& containerId)
override;
68 const ContainerID& containerId)
override;
72 std::string isolatorName;
81 #endif // __ISOLATOR_TRACKER_HPP__
process::Future< Nothing > cleanup(const ContainerID &containerId) override
Definition: resources.hpp:83
process::Future< Nothing > isolate(const ContainerID &containerId, pid_t pid) override
process::Future< Nothing > recover(const std::vector< mesos::slave::ContainerState > &states, const hashset< ContainerID > &orphans) override
process::Future< Nothing > update(const ContainerID &containerId, const Resources &resourceRequests, const google::protobuf::Map< std::string, Value::Scalar > &resourceLimits={}) override
bool supportsStandalone() override
DWORD pid_t
Definition: windows.hpp:181
Definition: future_tracker.hpp:84
process::Future< ResourceStatistics > usage(const ContainerID &containerId) override
IsolatorTracker(const process::Owned< mesos::slave::Isolator > &_isolator, const std::string &_isolatorName, PendingFutureTracker *_tracker)
Definition: isolator_tracker.hpp:29
Definition: attributes.hpp:24
process::Future< Option< mesos::slave::ContainerLaunchInfo > > prepare(const ContainerID &containerId, const mesos::slave::ContainerConfig &containerConfig) override
process::Future< ContainerStatus > status(const ContainerID &containerId) override
bool supportsNesting() override
process::Future< mesos::slave::ContainerLimitation > watch(const ContainerID &containerId) override
Definition: isolator.hpp:39