Apache Mesos
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mesos::internal::slave::state::RunState Struct Reference

#include <state.hpp>

Public Member Functions

 RunState ()
 

Static Public Member Functions

static Try< RunStaterecover (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId, const ExecutorID &executorId, const ContainerID &containerId, bool strict)
 

Public Attributes

Option< ContainerID > id
 
hashmap< TaskID, TaskStatetasks
 
Option< pid_tforkedPid
 
Option< process::UPIDlibprocessPid
 
Option< bool > http
 
bool completed
 
unsigned int errors
 

Constructor & Destructor Documentation

mesos::internal::slave::state::RunState::RunState ( )
inline

Member Function Documentation

static Try<RunState> mesos::internal::slave::state::RunState::recover ( const std::string &  rootDir,
const SlaveID &  slaveId,
const FrameworkID &  frameworkId,
const ExecutorID &  executorId,
const ContainerID &  containerId,
bool  strict 
)
static

Member Data Documentation

bool mesos::internal::slave::state::RunState::completed
unsigned int mesos::internal::slave::state::RunState::errors
Option<pid_t> mesos::internal::slave::state::RunState::forkedPid
Option<bool> mesos::internal::slave::state::RunState::http
Option<ContainerID> mesos::internal::slave::state::RunState::id
Option<process::UPID> mesos::internal::slave::state::RunState::libprocessPid
hashmap<TaskID, TaskState> mesos::internal::slave::state::RunState::tasks

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