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::GenericRegistrar mesos::resource_provider::MasterRegistrar

Classes

class  Operation
 

Public Member Functions

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

Static Public Member Functions

static Try< process::Owned< Registrar > > create (process::Owned< state::Storage > storage)
 
static Try< process::Owned< Registrar > > create (mesos::internal::master::Registrar *registrar, registry::Registry registry)
 

Constructor & Destructor Documentation

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

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 ( process::Owned< state::Storage storage)
static
static Try<process::Owned<Registrar> > mesos::resource_provider::Registrar::create ( mesos::internal::master::Registrar registrar,
registry::Registry  registry 
)
static
virtual process::Future<registry::Registry> mesos::resource_provider::Registrar::recover ( )
pure virtual

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