Apache Mesos
Public Member Functions | List of all members
mesos::internal::log::Coordinator Class Reference

#include <coordinator.hpp>

Public Member Functions

 Coordinator (size_t quorum, const process::Shared< Replica > &replica, const process::Shared< Network > &network)
 
 ~Coordinator ()
 
process::Future< Option< uint64_t > > elect ()
 
process::Future< uint64_t > demote ()
 
process::Future< Option< uint64_t > > append (const std::string &bytes)
 
process::Future< Option< uint64_t > > truncate (uint64_t to)
 

Constructor & Destructor Documentation

mesos::internal::log::Coordinator::Coordinator ( size_t  quorum,
const process::Shared< Replica > &  replica,
const process::Shared< Network > &  network 
)
mesos::internal::log::Coordinator::~Coordinator ( )

Member Function Documentation

process::Future<Option<uint64_t> > mesos::internal::log::Coordinator::append ( const std::string &  bytes)
process::Future<uint64_t> mesos::internal::log::Coordinator::demote ( )
process::Future<Option<uint64_t> > mesos::internal::log::Coordinator::elect ( )
process::Future<Option<uint64_t> > mesos::internal::log::Coordinator::truncate ( uint64_t  to)

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