17 #ifndef __WINDOWS_MEM_ISOLATOR_HPP__ 18 #define __WINDOWS_MEM_ISOLATOR_HPP__ 49 const std::vector<mesos::slave::ContainerState>& state,
53 const ContainerID& containerId,
54 const mesos::slave::ContainerConfig& containerConfig)
override;
57 const ContainerID& containerId,
pid_t pid)
override;
60 const ContainerID& containerId,
62 const google::protobuf::Map<
63 std::string, Value::Scalar>& resourceLimits = {})
override;
66 const ContainerID& containerId)
override;
88 #endif // __WINDOWS_MEM_ISOLATOR_HPP__ std::string generate(const std::string &prefix="")
Returns 'prefix(N)' where N represents the number of instances where the same prefix (wrt...
ProcessBase(const std::string &id="")
process::Future< Nothing > isolate(const ContainerID &containerId, pid_t pid) override
process::Future< Option< mesos::slave::ContainerLaunchInfo > > prepare(const ContainerID &containerId, const mesos::slave::ContainerConfig &containerConfig) override
Definition: resources.hpp:83
static Try< mesos::slave::Isolator * > create(const Flags &flags)
process::Future< ResourceStatistics > usage(const ContainerID &containerId) override
process::Future< Nothing > cleanup(const ContainerID &containerId) override
bool supportsNesting() override
DWORD pid_t
Definition: windows.hpp:181
bool supportsStandalone() override
process::Future< Nothing > recover(const std::vector< mesos::slave::ContainerState > &state, const hashset< ContainerID > &orphans) override
Definition: isolator.hpp:82
process::Future< Nothing > update(const ContainerID &containerId, const Resources &resourceRequests, const google::protobuf::Map< std::string, Value::Scalar > &resourceLimits={}) override
Definition: attributes.hpp:24