Apache Mesos
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
mesos::internal::slave::SubprocessLauncher Class Reference

#include <launcher.hpp>

Inheritance diagram for mesos::internal::slave::SubprocessLauncher:
mesos::internal::slave::Launcher

Public Member Functions

virtual ~SubprocessLauncher ()
 
virtual process::Future
< hashset< ContainerID > > 
recover (const std::list< mesos::slave::ContainerState > &states)
 
virtual Try< pid_tfork (const ContainerID &containerId, const std::string &path, const std::vector< std::string > &argv, const process::Subprocess::IO &in, const process::Subprocess::IO &out, const process::Subprocess::IO &err, const flags::FlagsBase *flags, const Option< std::map< std::string, std::string >> &environment, const Option< int > &enterNamespaces, const Option< int > &cloneNamespaces)
 
virtual process::Future< Nothingdestroy (const ContainerID &containerId)
 
virtual process::Future
< ContainerStatus > 
status (const ContainerID &containerId)
 
- Public Member Functions inherited from mesos::internal::slave::Launcher
virtual ~Launcher ()
 

Static Public Member Functions

static Try< Launcher * > create (const Flags &flags)
 

Protected Member Functions

 SubprocessLauncher ()
 

Protected Attributes

hashmap< ContainerID, pid_tpids
 

Constructor & Destructor Documentation

virtual mesos::internal::slave::SubprocessLauncher::~SubprocessLauncher ( )
inlinevirtual
mesos::internal::slave::SubprocessLauncher::SubprocessLauncher ( )
inlineprotected

Member Function Documentation

static Try<Launcher*> mesos::internal::slave::SubprocessLauncher::create ( const Flags flags)
static
virtual process::Future<Nothing> mesos::internal::slave::SubprocessLauncher::destroy ( const ContainerID &  containerId)
virtual
virtual Try<pid_t> mesos::internal::slave::SubprocessLauncher::fork ( const ContainerID &  containerId,
const std::string &  path,
const std::vector< std::string > &  argv,
const process::Subprocess::IO in,
const process::Subprocess::IO out,
const process::Subprocess::IO err,
const flags::FlagsBase flags,
const Option< std::map< std::string, std::string >> &  environment,
const Option< int > &  enterNamespaces,
const Option< int > &  cloneNamespaces 
)
virtual
virtual process::Future<hashset<ContainerID> > mesos::internal::slave::SubprocessLauncher::recover ( const std::list< mesos::slave::ContainerState > &  states)
virtual
virtual process::Future<ContainerStatus> mesos::internal::slave::SubprocessLauncher::status ( const ContainerID &  containerId)
virtual

Member Data Documentation

hashmap<ContainerID, pid_t> mesos::internal::slave::SubprocessLauncher::pids
protected

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