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

#include <state.hpp>

Public Member Functions

 SlaveState ()
 

Static Public Member Functions

static Try< SlaveStaterecover (const std::string &rootDir, const SlaveID &slaveId, bool strict, bool rebooted)
 

Public Attributes

SlaveID id
 
Option< SlaveInfo > info
 
hashmap< FrameworkID, FrameworkStateframeworks
 
Option< std::vector< Operation > > operations
 
Option< DrainConfig > drainConfig
 
unsigned int errors
 

Constructor & Destructor Documentation

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

Member Function Documentation

static Try<SlaveState> mesos::internal::slave::state::SlaveState::recover ( const std::string &  rootDir,
const SlaveID &  slaveId,
bool  strict,
bool  rebooted 
)
static

Member Data Documentation

Option<DrainConfig> mesos::internal::slave::state::SlaveState::drainConfig
unsigned int mesos::internal::slave::state::SlaveState::errors
hashmap<FrameworkID, FrameworkState> mesos::internal::slave::state::SlaveState::frameworks
SlaveID mesos::internal::slave::state::SlaveState::id
Option<SlaveInfo> mesos::internal::slave::state::SlaveState::info
Option<std::vector<Operation> > mesos::internal::slave::state::SlaveState::operations

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