Apache Mesos
|
#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) |
mesos::internal::log::Coordinator::Coordinator | ( | size_t | quorum, |
const process::Shared< Replica > & | replica, | ||
const process::Shared< Network > & | network | ||
) |
mesos::internal::log::Coordinator::~Coordinator | ( | ) |
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 | ) |