Apache Mesos
Public Member Functions | List of all members
mesos::internal::slave::MesosIsolator Class Reference

#include <isolator.hpp>

Inheritance diagram for mesos::internal::slave::MesosIsolator:
mesos::slave::Isolator

Public Member Functions

 MesosIsolator (process::Owned< MesosIsolatorProcess > process)
 
 ~MesosIsolator () override
 
bool supportsNesting () override
 
bool supportsStandalone () override
 
process::Future< Nothingrecover (const std::vector< mesos::slave::ContainerState > &states, const hashset< ContainerID > &orphans) override
 
process::Future< Option< mesos::slave::ContainerLaunchInfo > > prepare (const ContainerID &containerId, const mesos::slave::ContainerConfig &containerConfig) override
 
process::Future< Nothingisolate (const ContainerID &containerId, pid_t pid) override
 
process::Future< mesos::slave::ContainerLimitation > watch (const ContainerID &containerId) override
 
process::Future< Nothingupdate (const ContainerID &containerId, const Resources &resourceRequests, const google::protobuf::Map< std::string, Value::Scalar > &resourceLimits={}) override
 
process::Future< ResourceStatistics > usage (const ContainerID &containerId) override
 
process::Future< ContainerStatus > status (const ContainerID &containerId) override
 
process::Future< Nothingcleanup (const ContainerID &containerId) override
 
- Public Member Functions inherited from mesos::slave::Isolator
virtual ~Isolator ()
 
virtual process::Future< Nothingrecover (const std::vector< ContainerState > &states, const hashset< ContainerID > &orphans)
 
virtual process::Future< Option< ContainerLaunchInfo > > prepare (const ContainerID &containerId, const ContainerConfig &containerConfig)
 

Constructor & Destructor Documentation

mesos::internal::slave::MesosIsolator::MesosIsolator ( process::Owned< MesosIsolatorProcess process)
explicit
mesos::internal::slave::MesosIsolator::~MesosIsolator ( )
override

Member Function Documentation

process::Future<Nothing> mesos::internal::slave::MesosIsolator::cleanup ( const ContainerID &  containerId)
overridevirtual

Reimplemented from mesos::slave::Isolator.

process::Future<Nothing> mesos::internal::slave::MesosIsolator::isolate ( const ContainerID &  containerId,
pid_t  pid 
)
overridevirtual

Reimplemented from mesos::slave::Isolator.

process::Future<Option<mesos::slave::ContainerLaunchInfo> > mesos::internal::slave::MesosIsolator::prepare ( const ContainerID &  containerId,
const mesos::slave::ContainerConfig &  containerConfig 
)
override
process::Future<Nothing> mesos::internal::slave::MesosIsolator::recover ( const std::vector< mesos::slave::ContainerState > &  states,
const hashset< ContainerID > &  orphans 
)
override
process::Future<ContainerStatus> mesos::internal::slave::MesosIsolator::status ( const ContainerID &  containerId)
overridevirtual

Reimplemented from mesos::slave::Isolator.

bool mesos::internal::slave::MesosIsolator::supportsNesting ( )
overridevirtual

Reimplemented from mesos::slave::Isolator.

bool mesos::internal::slave::MesosIsolator::supportsStandalone ( )
overridevirtual

Reimplemented from mesos::slave::Isolator.

process::Future<Nothing> mesos::internal::slave::MesosIsolator::update ( const ContainerID &  containerId,
const Resources resourceRequests,
const google::protobuf::Map< std::string, Value::Scalar > &  resourceLimits = {} 
)
overridevirtual

Reimplemented from mesos::slave::Isolator.

process::Future<ResourceStatistics> mesos::internal::slave::MesosIsolator::usage ( const ContainerID &  containerId)
overridevirtual

Reimplemented from mesos::slave::Isolator.

process::Future<mesos::slave::ContainerLimitation> mesos::internal::slave::MesosIsolator::watch ( const ContainerID &  containerId)
overridevirtual

Reimplemented from mesos::slave::Isolator.


The documentation for this class was generated from the following file: