17 #ifndef __WINDOWS_CPU_ISOLATOR_HPP__ 18 #define __WINDOWS_CPU_ISOLATOR_HPP__ 48 const std::vector<mesos::slave::ContainerState>& state,
52 const ContainerID& containerId,
53 const mesos::slave::ContainerConfig& containerConfig)
override;
56 const ContainerID& containerId,
pid_t pid)
override;
59 const ContainerID& containerId,
61 const google::protobuf::Map<
62 std::string, Value::Scalar>& resourceLimits = {})
override;
65 const ContainerID& containerId)
override;
87 #endif // __WINDOWS_CPU_ISOLATOR_HPP__ std::string generate(const std::string &prefix="")
Returns 'prefix(N)' where N represents the number of instances where the same prefix (wrt...
bool supportsStandalone() override
ProcessBase(const std::string &id="")
bool supportsNesting() override
Definition: resources.hpp:83
process::Future< Nothing > recover(const std::vector< mesos::slave::ContainerState > &state, const hashset< ContainerID > &orphans) override
DWORD pid_t
Definition: windows.hpp:181
process::Future< Option< mesos::slave::ContainerLaunchInfo > > prepare(const ContainerID &containerId, const mesos::slave::ContainerConfig &containerConfig) override
process::Future< Nothing > cleanup(const ContainerID &containerId) 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
process::Future< Nothing > isolate(const ContainerID &containerId, pid_t pid) override
Definition: attributes.hpp:24
static Try< mesos::slave::Isolator * > create(const Flags &flags)
process::Future< ResourceStatistics > usage(const ContainerID &containerId) override