17 #ifndef __MESOS_STATE_ZOOKEEPER_HPP__
18 #define __MESOS_STATE_ZOOKEEPER_HPP__
37 class ZooKeeperStorageProcess;
45 const std::string& servers,
47 const std::string& znode,
53 const std::string&
name);
55 const internal::state::Entry& entry,
61 ZooKeeperStorageProcess* process;
68 #endif // __MESOS_STATE_ZOOKEEPER_HPP__
ZooKeeperStorage(const std::string &servers, const Duration &timeout, const std::string &znode, const Option< zookeeper::Authentication > &auth=None())
virtual process::Future< std::set< std::string > > names()
virtual process::Future< bool > expunge(const internal::state::Entry &entry)
Definition: duration.hpp:32
virtual ~ZooKeeperStorage()
virtual process::Future< bool > set(const internal::state::Entry &entry, const id::UUID &uuid)
Definition: storage.hpp:33
Definition: zookeeper.hpp:40
constexpr const char * name
Definition: shell.hpp:41
Definition: future.hpp:57