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

#include <replica.hpp>

Public Member Functions

 Replica (const std::string &path)
 
virtual ~Replica ()
 
process::Future< std::list
< Action > > 
read (uint64_t from, uint64_t to) const
 
process::Future< bool > missing (uint64_t position) const
 
process::Future< IntervalSet
< uint64_t > > 
missing (uint64_t from, uint64_t to) const
 
process::Future< uint64_t > beginning () const
 
process::Future< uint64_t > ending () const
 
process::Future< Metadata::Status > status () const
 
process::Future< uint64_t > promised () const
 
virtual process::Future< bool > update (const Metadata::Status &status)
 
process::PID< ReplicaProcess > pid () const
 

Constructor & Destructor Documentation

mesos::internal::log::Replica::Replica ( const std::string &  path)
explicit
virtual mesos::internal::log::Replica::~Replica ( )
virtual

Member Function Documentation

process::Future<uint64_t> mesos::internal::log::Replica::beginning ( ) const
process::Future<uint64_t> mesos::internal::log::Replica::ending ( ) const
process::Future<bool> mesos::internal::log::Replica::missing ( uint64_t  position) const
process::Future<IntervalSet<uint64_t> > mesos::internal::log::Replica::missing ( uint64_t  from,
uint64_t  to 
) const
process::PID<ReplicaProcess> mesos::internal::log::Replica::pid ( ) const
process::Future<uint64_t> mesos::internal::log::Replica::promised ( ) const
process::Future<std::list<Action> > mesos::internal::log::Replica::read ( uint64_t  from,
uint64_t  to 
) const
process::Future<Metadata::Status> mesos::internal::log::Replica::status ( ) const
virtual process::Future<bool> mesos::internal::log::Replica::update ( const Metadata::Status &  status)
virtual

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