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

#include <zookeeper.hpp>

Inheritance diagram for mesos::state::ZooKeeperStorage:
mesos::state::Storage

Public Member Functions

 ZooKeeperStorage (const std::string &servers, const Duration &timeout, const std::string &znode, const Option< zookeeper::Authentication > &auth=None())
 
 ~ZooKeeperStorage () 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::ZooKeeperStorage::ZooKeeperStorage ( const std::string &  servers,
const Duration timeout,
const std::string &  znode,
const Option< zookeeper::Authentication > &  auth = None() 
)
mesos::state::ZooKeeperStorage::~ZooKeeperStorage ( )
override

Member Function Documentation

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

Implements mesos::state::Storage.

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

Implements mesos::state::Storage.

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

Implements mesos::state::Storage.

process::Future<bool> mesos::state::ZooKeeperStorage::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: