Apache Mesos
Public Member Functions | Protected Member Functions | List of all members
mesos::internal::master::maintenance::StopMaintenance Class Reference

Transitions a group of machines from DOWN mode into UP mode. More...

#include <maintenance.hpp>

Inheritance diagram for mesos::internal::master::maintenance::StopMaintenance:
mesos::internal::master::RegistryOperation process::Promise< bool >

Public Member Functions

 StopMaintenance (const google::protobuf::RepeatedPtrField< MachineID > &_ids)
- Public Member Functions inherited from mesos::internal::master::RegistryOperation
 RegistryOperation ()
 ~RegistryOperation () override
Try< bool > operator() (Registry *registry, hashset< SlaveID > *slaveIDs)
bool set ()
- Public Member Functions inherited from process::Promise< bool >
 Promise ()
 Promise (const bool &t)
 Promise (Promise< bool > &&that)
virtual ~Promise ()
bool discard ()
bool set (const bool &_t)
bool set (bool &&_t)
bool set (const Future< bool > &future)
bool associate (const Future< bool > &future)
bool fail (const std::string &message)
Future< bool > future () const

Protected Member Functions

Try< bool > perform (Registry *registry, hashset< SlaveID > *slaveIDs) override

Detailed Description

Transitions a group of machines from DOWN mode into UP mode.

All machines must be in DOWN mode and must be part of a maintenance schedule prior to executing this operation. The machines will be removed from the maintenance schedule.

Constructor & Destructor Documentation

mesos::internal::master::maintenance::StopMaintenance::StopMaintenance ( const google::protobuf::RepeatedPtrField< MachineID > &  _ids)

Member Function Documentation

Try<bool> mesos::internal::master::maintenance::StopMaintenance::perform ( Registry *  registry,
hashset< SlaveID > *  slaveIDs 

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