17 #ifndef __WINDOWS_MEM_ISOLATOR_HPP__
18 #define __WINDOWS_MEM_ISOLATOR_HPP__
49 const std::list<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,
const Resources& resources)
override;
63 const ContainerID& containerId)
override;
85 #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
process::Future< Nothing > update(const ContainerID &containerId, const Resources &resources) override
Definition: resources.hpp:79
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:187
bool supportsStandalone() override
Definition: isolator.hpp:80
#define flags
Definition: decoder.hpp:18
process::Future< Nothing > recover(const std::list< mesos::slave::ContainerState > &state, const hashset< ContainerID > &orphans) override