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

#include <registrar.hpp>

Inheritance diagram for mesos::internal::master::RegistryOperation:
process::Promise< bool > mesos::internal::master::AdmitSlave mesos::internal::master::maintenance::StartMaintenance mesos::internal::master::maintenance::StopMaintenance mesos::internal::master::maintenance::UpdateSchedule mesos::internal::master::MarkSlaveGone mesos::internal::master::MarkSlaveReachable mesos::internal::master::MarkSlaveUnreachable mesos::internal::master::Prune mesos::internal::master::quota::RemoveQuota mesos::internal::master::quota::UpdateQuota mesos::internal::master::RemoveSlave mesos::internal::master::UpdateSlave mesos::internal::master::weights::UpdateWeights

Public Member Functions

 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

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

Constructor & Destructor Documentation

mesos::internal::master::RegistryOperation::RegistryOperation ( )
inline
mesos::internal::master::RegistryOperation::~RegistryOperation ( )
inlineoverride

Member Function Documentation

Try<bool> mesos::internal::master::RegistryOperation::operator() ( Registry *  registry,
hashset< SlaveID > *  slaveIDs 
)
inline
virtual Try<bool> mesos::internal::master::RegistryOperation::perform ( Registry *  registry,
hashset< SlaveID > *  slaveIDs 
)
protectedpure virtual
bool mesos::internal::master::RegistryOperation::set ( )
inline

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