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

#include <registry_operations.hpp>

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

Public Member Functions

 AdmitSlave (const SlaveInfo &_info)
 
- Public Member Functions inherited from mesos::internal::master::RegistryOperation
 RegistryOperation ()
 
virtual ~RegistryOperation ()
 
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

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

Constructor & Destructor Documentation

mesos::internal::master::AdmitSlave::AdmitSlave ( const SlaveInfo &  _info)
explicit

Member Function Documentation

virtual Try<bool> mesos::internal::master::AdmitSlave::perform ( Registry *  registry,
hashset< SlaveID > *  slaveIDs 
)
protectedvirtual

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