zookeeper-cpp
ZooKeeper Client for C++
|
Public Member Functions | |
connection_zk (string_view conn_string, std::chrono::milliseconds recv_timeout=std::chrono::milliseconds(10000)) | |
virtual void | close () override |
virtual zk::state | state () const override |
virtual future< get_result > | get (string_view path) override |
virtual future< watch_result > | watch (string_view path) override |
virtual future< get_children_result > | get_children (string_view path) override |
virtual future< watch_children_result > | watch_children (string_view path) override |
virtual future< exists_result > | exists (string_view path) override |
virtual future< watch_exists_result > | watch_exists (string_view path) override |
virtual future< create_result > | create (string_view path, const buffer &data, const acl &rules, create_mode mode) override |
virtual future< set_result > | set (string_view path, const buffer &data, version check) override |
virtual future< void > | erase (string_view path, version check) override |
virtual future< get_acl_result > | get_acl (string_view path) const override |
virtual future< void > | set_acl (string_view path, const acl &rules, acl_version check) override |
virtual future< multi_result > | commit (multi_op &&txn) override |
virtual future< void > | load_fence () override |
Public Member Functions inherited from zk::connection | |
virtual future< zk::state > | watch_state () |
Watch for a state change. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from zk::connection | |
static std::shared_ptr< connection > | connect (string_view conn_string) |
Protected Member Functions inherited from zk::connection | |
virtual void | on_session_event (zk::state new_state) |
Call this from derived classes when a session event happens. More... | |
Definition at line 19 of file connection_zk.hpp.