Apache Mesos
Namespaces | Functions
consensus.hpp File Reference
#include <stdint.h>
#include <process/future.hpp>
#include <process/shared.hpp>
#include <stout/none.hpp>
#include <stout/nothing.hpp>
#include <stout/option.hpp>
#include "log/network.hpp"
#include "messages/log.hpp"

Go to the source code of this file.

Namespaces

 mesos
 
 mesos::internal
 
 mesos::internal::log
 

Functions

process::Future< PromiseResponse > mesos::internal::log::promise (size_t quorum, const process::Shared< Network > &network, uint64_t proposal, const Option< uint64_t > &position=None())
 
process::Future< WriteResponse > mesos::internal::log::write (size_t quorum, const process::Shared< Network > &network, uint64_t proposal, const Action &action)
 
process::Future< Nothingmesos::internal::log::learn (const process::Shared< Network > &network, const Action &action)
 
process::Future< Action > mesos::internal::log::fill (size_t quorum, const process::Shared< Network > &network, uint64_t proposal, uint64_t position)