Apache Mesos
Classes | Public Member Functions | Static Public Member Functions | List of all members
mesos::resource_provider::Registrar Class Referenceabstract

#include <registrar.hpp>

Inheritance diagram for mesos::resource_provider::Registrar:
mesos::resource_provider::AgentRegistrar mesos::resource_provider::MasterRegistrar


class  Operation

Public Member Functions

virtual ~Registrar ()=default
virtual process::Future< Nothingrecover ()=0
virtual process::Future< bool > apply (process::Owned< Operation > operation)=0

Static Public Member Functions

static Try< process::Owned
< Registrar > > 
create (mesos::internal::master::Registrar *registrar)
static Try< process::Owned
< Registrar > > 
create (const mesos::internal::slave::Flags &slaveFlags, const SlaveID &slaveId)

Constructor & Destructor Documentation

virtual mesos::resource_provider::Registrar::~Registrar ( )

Member Function Documentation

virtual process::Future<bool> mesos::resource_provider::Registrar::apply ( process::Owned< Operation operation)
pure virtual
static Try<process::Owned<Registrar> > mesos::resource_provider::Registrar::create ( mesos::internal::master::Registrar registrar)
static Try<process::Owned<Registrar> > mesos::resource_provider::Registrar::create ( const mesos::internal::slave::Flags slaveFlags,
const SlaveID &  slaveId 
virtual process::Future<Nothing> mesos::resource_provider::Registrar::recover ( )
pure virtual

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