17 #ifndef __MESOS_SLAVE_ISOLATOR_HPP__ 18 #define __MESOS_SLAVE_ISOLATOR_HPP__ 61 const std::vector<ContainerState>& states,
74 const ContainerID& containerId,
75 const ContainerConfig& containerConfig)
82 const ContainerID& containerId,
92 const ContainerID& containerId)
99 const ContainerID& containerId,
101 const google::protobuf::Map<
102 std::string, Value::Scalar>& resourceLimits = {})
109 const ContainerID& containerId)
111 return ResourceStatistics();
117 const ContainerID& containerId)
119 return ContainerStatus();
131 const ContainerID& containerId)
140 #endif // __MESOS_SLAVE_ISOLATOR_HPP__
Definition: nothing.hpp:16
virtual bool supportsNesting()
Definition: isolator.hpp:47
Definition: resources.hpp:83
virtual process::Future< ContainerStatus > status(const ContainerID &containerId)
Definition: isolator.hpp:116
virtual process::Future< Nothing > cleanup(const ContainerID &containerId)
Definition: isolator.hpp:130
virtual ~Isolator()
Definition: isolator.hpp:42
DWORD pid_t
Definition: windows.hpp:181
virtual process::Future< Nothing > recover(const std::vector< ContainerState > &states, const hashset< ContainerID > &orphans)
Definition: isolator.hpp:60
virtual process::Future< Nothing > update(const ContainerID &containerId, const Resources &resourceRequests, const google::protobuf::Map< std::string, Value::Scalar > &resourceLimits={})
Definition: isolator.hpp:98
virtual bool supportsStandalone()
Definition: isolator.hpp:52
virtual process::Future< ContainerLimitation > watch(const ContainerID &containerId)
Definition: isolator.hpp:91
virtual process::Future< Nothing > isolate(const ContainerID &containerId, pid_t pid)
Definition: isolator.hpp:81
virtual process::Future< Option< ContainerLaunchInfo > > prepare(const ContainerID &containerId, const ContainerConfig &containerConfig)
Definition: isolator.hpp:73
Definition: isolator.hpp:39
virtual process::Future< ResourceStatistics > usage(const ContainerID &containerId)
Definition: isolator.hpp:108