Apache Mesos
Classes | Public Member Functions | List of all members
mesos::internal::log::Storage Class Referenceabstract

#include <storage.hpp>

Inheritance diagram for mesos::internal::log::Storage:
mesos::internal::log::LevelDBStorage

Classes

struct  State
 

Public Member Functions

virtual ~Storage ()
 
virtual Try< Staterestore (const std::string &path)=0
 
virtual Try< Nothingpersist (const Metadata &metadata)=0
 
virtual Try< Nothingpersist (const Action &action)=0
 
virtual Try< Action > read (uint64_t position)=0
 

Constructor & Destructor Documentation

virtual mesos::internal::log::Storage::~Storage ( )
inlinevirtual

Member Function Documentation

virtual Try<Nothing> mesos::internal::log::Storage::persist ( const Metadata &  metadata)
pure virtual
virtual Try<Nothing> mesos::internal::log::Storage::persist ( const Action &  action)
pure virtual
virtual Try<Action> mesos::internal::log::Storage::read ( uint64_t  position)
pure virtual
virtual Try<State> mesos::internal::log::Storage::restore ( const std::string &  path)
pure virtual

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