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

#include <registrar.hpp>

Inheritance diagram for mesos::resource_provider::Registrar::Operation:
process::Promise< bool > mesos::resource_provider::AdmitResourceProvider mesos::resource_provider::RemoveResourceProvider

Public Member Functions

 ~Operation () override=default
Try< bool > operator() (registry::Registry *registry)
bool set ()
- Public Member Functions inherited from process::Promise< bool >
 Promise ()
 Promise (const bool &t)
 Promise (Promise &&that)=default
 Promise (const Promise &that)=delete
virtual ~Promise ()
Promiseoperator= (Promise &&)=default
Promiseoperator= (const Promise &)=delete
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 *registry)=0

Constructor & Destructor Documentation

mesos::resource_provider::Registrar::Operation::~Operation ( )

Member Function Documentation

Try<bool> mesos::resource_provider::Registrar::Operation::operator() ( registry::Registry *  registry)
virtual Try<bool> mesos::resource_provider::Registrar::Operation::perform ( registry::Registry *  registry)
protectedpure virtual
bool mesos::resource_provider::Registrar::Operation::set ( )

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