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

Member Function Documentation

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

Implements mesos::state::Storage.

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

Implements mesos::state::Storage.

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

Implements mesos::state::Storage.

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