Apache Mesos
Public Member Functions | List of all members
mesos::state::Storage Class Referenceabstract

#include <storage.hpp>

Inheritance diagram for mesos::state::Storage:
mesos::state::InMemoryStorage mesos::state::LevelDBStorage mesos::state::LogStorage mesos::state::ZooKeeperStorage

Public Member Functions

 Storage ()
 
virtual ~Storage ()
 
virtual process::Future
< Option
< internal::state::Entry > > 
get (const std::string &name)=0
 
virtual process::Future< bool > set (const internal::state::Entry &entry, const id::UUID &uuid)=0
 
virtual process::Future< bool > expunge (const internal::state::Entry &entry)=0
 
virtual process::Future
< std::set< std::string > > 
names ()=0
 

Constructor & Destructor Documentation

mesos::state::Storage::Storage ( )
inline
virtual mesos::state::Storage::~Storage ( )
inlinevirtual

Member Function Documentation

virtual process::Future<bool> mesos::state::Storage::expunge ( const internal::state::Entry &  entry)
pure virtual
virtual process::Future<Option<internal::state::Entry> > mesos::state::Storage::get ( const std::string &  name)
pure virtual
virtual process::Future<std::set<std::string> > mesos::state::Storage::names ( )
pure virtual
virtual process::Future<bool> mesos::state::Storage::set ( const internal::state::Entry &  entry,
const id::UUID uuid 
)
pure virtual

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