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)
 
virtual ~LogStorage ()
 
virtual process::Future< Option< internal::state::Entry > > get (const std::string &name)
 
virtual process::Future< bool > set (const internal::state::Entry &entry, const id::UUID &uuid)
 
virtual process::Future< bool > expunge (const internal::state::Entry &entry)
 
virtual process::Future< std::set< std::string > > names ()
 
- 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 
)
virtual mesos::state::LogStorage::~LogStorage ( )
virtual

Member Function Documentation

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

Implements mesos::state::Storage.

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

Implements mesos::state::Storage.

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

Implements mesos::state::Storage.

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

Implements mesos::state::Storage.


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