17 #ifndef __MASTER_REGISTRAR_HPP__
18 #define __MASTER_REGISTRAR_HPP__
38 class RegistrarProcess;
122 RegistrarProcess* process;
129 #endif // __MASTER_REGISTRAR_HPP__
RegistryOperation()
Definition: registrar.hpp:48
bool set(const T &_t)
Definition: future.hpp:826
process::PID< RegistrarProcess > pid() const
Definition: registrar.hpp:91
virtual ~RegistryOperation()
Definition: registrar.hpp:49
Definition: future.hpp:73
Registrar(const Flags &flags, mesos::state::State *state, const Option< std::string > &authenticationRealm=None())
virtual process::Future< bool > apply(process::Owned< RegistryOperation > operation)
virtual Try< bool > perform(Registry *registry, hashset< SlaveID > *slaveIDs)=0
bool set()
Definition: registrar.hpp:67
Try< bool > operator()(Registry *registry, hashset< SlaveID > *slaveIDs)
Definition: registrar.hpp:57
#define flags
Definition: decoder.hpp:18
A "process identifier" used to uniquely identify a process when dispatching messages.
Definition: pid.hpp:279
bool isError() const
Definition: try.hpp:71
Definition: registrar.hpp:45
process::Future< Registry > recover(const MasterInfo &info)
Definition: future.hpp:57