Apache Mesos
Public Member Functions | List of all members
mesos::state::LogStorage Class Reference

#include <log.hpp>

Inheritance diagram for mesos::state::LogStorage:
mesos::state::Storage

Public Member Functions

 LogStorage (mesos::log::Log *log, size_t diffsBetweenSnapshots=0)
 
 ~LogStorage () override
 
process::Future< Option< internal::state::Entry > > get (const std::string &name) override
 
process::Future< bool > set (const internal::state::Entry &entry, const id::UUID &uuid) override
 
process::Future< bool > expunge (const internal::state::Entry &entry) override
 
process::Future< std::set< std::string > > names () override
 
- Public Member Functions inherited from mesos::state::Storage
 Storage ()
 
virtual ~Storage ()
 

Constructor & Destructor Documentation

mesos::state::LogStorage::LogStorage ( mesos::log::Log log,
size_t  diffsBetweenSnapshots = 0 
)
mesos::state::LogStorage::~LogStorage ( )
override

Member Function Documentation

process::Future<bool> mesos::state::LogStorage::expunge ( const internal::state::Entry &  entry)
overridevirtual

Implements mesos::state::Storage.

process::Future<Option<internal::state::Entry> > mesos::state::LogStorage::get ( const std::string &  name)
overridevirtual

Implements mesos::state::Storage.

process::Future<std::set<std::string> > mesos::state::LogStorage::names ( )
overridevirtual

Implements mesos::state::Storage.

process::Future<bool> mesos::state::LogStorage::set ( const internal::state::Entry &  entry,
const id::UUID uuid 
)
overridevirtual

Implements mesos::state::Storage.


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