Apache Mesos
Namespaces | Classes | Functions
mesos::internal::slave::state Namespace Reference

Namespaces

 internal
 

Classes

struct  ExecutorState
 
struct  FrameworkState
 
struct  ResourcesState
 
struct  RunState
 
struct  SlaveState
 
struct  State
 
struct  TaskState
 

Functions

Try< Staterecover (const std::string &rootDir, bool strict)
 
template<typename T >
Result< T > read (const std::string &path)
 
template<>
Result< std::string > read< std::string > (const std::string &path)
 
template<>
Result< Resourcesread< Resources > (const std::string &path)
 
template<typename T >
Try< Nothingcheckpoint (const std::string &path, const T &t, bool sync=false)
 

Function Documentation

template<typename T >
Try<Nothing> mesos::internal::slave::state::checkpoint ( const std::string &  path,
const T &  t,
bool  sync = false 
)
template<typename T >
Result<T> mesos::internal::slave::state::read ( const std::string &  path)
template<>
Result<Resources> mesos::internal::slave::state::read< Resources > ( const std::string &  path)
inline
template<>
Result<std::string> mesos::internal::slave::state::read< std::string > ( const std::string &  path)
inline
Try<State> mesos::internal::slave::state::recover ( const std::string &  rootDir,
bool  strict 
)