Apache Mesos
Functions
mesos::internal::slave::state::internal Namespace Reference

Functions

Try< Nothingcheckpoint (const std::string &path, const std::string &message, bool sync, bool downgradeResources)
 
template<typename T , typename std::enable_if< std::is_convertible< T *, google::protobuf::Message * >::value, int >::type = 0>
Try< Nothingcheckpoint (const std::string &path, T message, bool sync, bool downgrade)
 
Try< Nothingcheckpoint (const std::string &path, google::protobuf::RepeatedPtrField< Resource > resources, bool sync, bool downgrade)
 
Try< Nothingcheckpoint (const std::string &path, const Resources &resources, bool sync, bool downgrade)
 

Function Documentation

Try<Nothing> mesos::internal::slave::state::internal::checkpoint ( const std::string &  path,
const std::string &  message,
bool  sync,
bool  downgradeResources 
)
inline
template<typename T , typename std::enable_if< std::is_convertible< T *, google::protobuf::Message * >::value, int >::type = 0>
Try<Nothing> mesos::internal::slave::state::internal::checkpoint ( const std::string &  path,
message,
bool  sync,
bool  downgrade 
)
inline
Try<Nothing> mesos::internal::slave::state::internal::checkpoint ( const std::string &  path,
google::protobuf::RepeatedPtrField< Resource >  resources,
bool  sync,
bool  downgrade 
)
inline
Try<Nothing> mesos::internal::slave::state::internal::checkpoint ( const std::string &  path,
const Resources resources,
bool  sync,
bool  downgrade 
)
inline