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

#include <isolator.hpp>

Inheritance diagram for mesos::slave::Isolator:
mesos::internal::slave::IsolatorTracker mesos::internal::slave::MesosIsolator mesos::internal::tests::MockIsolator

Public Member Functions

virtual ~Isolator ()
 
virtual bool supportsNesting ()
 
virtual bool supportsStandalone ()
 
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)
 
virtual process::Future< Nothingisolate (const ContainerID &containerId, pid_t pid)
 
virtual process::Future< ContainerLimitation > watch (const ContainerID &containerId)
 
virtual process::Future< Nothingupdate (const ContainerID &containerId, const Resources &resourceRequests, const google::protobuf::Map< std::string, Value::Scalar > &resourceLimits={})
 
virtual process::Future< ResourceStatistics > usage (const ContainerID &containerId)
 
virtual process::Future< ContainerStatus > status (const ContainerID &containerId)
 
virtual process::Future< Nothingcleanup (const ContainerID &containerId)
 

Constructor & Destructor Documentation

virtual mesos::slave::Isolator::~Isolator ( )
inlinevirtual

Member Function Documentation

virtual process::Future<Nothing> mesos::slave::Isolator::cleanup ( const ContainerID &  containerId)
inlinevirtual
virtual process::Future<Nothing> mesos::slave::Isolator::isolate ( const ContainerID &  containerId,
pid_t  pid 
)
inlinevirtual
virtual process::Future<Option<ContainerLaunchInfo> > mesos::slave::Isolator::prepare ( const ContainerID &  containerId,
const ContainerConfig &  containerConfig 
)
inlinevirtual
virtual process::Future<Nothing> mesos::slave::Isolator::recover ( const std::vector< ContainerState > &  states,
const hashset< ContainerID > &  orphans 
)
inlinevirtual
virtual process::Future<ContainerStatus> mesos::slave::Isolator::status ( const ContainerID &  containerId)
inlinevirtual
virtual bool mesos::slave::Isolator::supportsNesting ( )
inlinevirtual
virtual bool mesos::slave::Isolator::supportsStandalone ( )
inlinevirtual
virtual process::Future<Nothing> mesos::slave::Isolator::update ( const ContainerID &  containerId,
const Resources resourceRequests,
const google::protobuf::Map< std::string, Value::Scalar > &  resourceLimits = {} 
)
inlinevirtual
virtual process::Future<ResourceStatistics> mesos::slave::Isolator::usage ( const ContainerID &  containerId)
inlinevirtual
virtual process::Future<ContainerLimitation> mesos::slave::Isolator::watch ( const ContainerID &  containerId)
inlinevirtual

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