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

#include <isolator_tracker.hpp>

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

Public Member Functions

 IsolatorTracker (const process::Owned< mesos::slave::Isolator > &_isolator, const std::string &_isolatorName, PendingFutureTracker *_tracker)
 
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::IsolatorTracker::IsolatorTracker ( const process::Owned< mesos::slave::Isolator > &  _isolator,
const std::string &  _isolatorName,
PendingFutureTracker _tracker 
)

Member Function Documentation

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

Reimplemented from mesos::slave::Isolator.

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

Reimplemented from mesos::slave::Isolator.

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

Reimplemented from mesos::slave::Isolator.

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

Reimplemented from mesos::slave::Isolator.

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

Reimplemented from mesos::slave::Isolator.

process::Future<Nothing> mesos::internal::slave::IsolatorTracker::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::IsolatorTracker::usage ( const ContainerID &  containerId)
overridevirtual

Reimplemented from mesos::slave::Isolator.

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

Reimplemented from mesos::slave::Isolator.


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