#include <zookeeper_client_impl.h>
|
| | ZookeeperClientImpl (const char *hostname, const char *servers, zookeeper::interface::ZookeeperInterface *zki) |
| |
| virtual | ~ZookeeperClientImpl () |
| |
| bool | Connect () |
| |
| void | Shutdown () |
| |
| bool | Reconnect () |
| |
| bool | IsConnected () const |
| |
| bool | CreateNode (const char *path, const char *value, int flag) |
| |
| bool | DeleteNode (const char *path) |
| |
| int | CreateNodeSync (const char *path, const char *value, int *err, int flag) |
| |
| int | GetNodeDataSync (const char *path, char *buf, int *buf_len, int *err) |
| |
| int | DeleteNodeSync (const char *path, int *err) |
| |
| bool | CheckNodeExist (const char *path) |
| |
| void | SetClient (void *client) |
| |
| void * | GetClient () |
| |
| std::string | Name () const |
| |
Definition at line 19 of file zookeeper_client_impl.h.
◆ ZookeeperClientImpl()
◆ ~ZookeeperClientImpl()
| zookeeper::client::impl::ZookeeperClientImpl::~ZookeeperClientImpl |
( |
| ) |
|
|
virtual |
◆ CheckNodeExist()
| bool zookeeper::client::impl::ZookeeperClientImpl::CheckNodeExist |
( |
const char * |
path | ) |
|
◆ Connect()
| bool zookeeper::client::impl::ZookeeperClientImpl::Connect |
( |
| ) |
|
◆ CreateNode()
| bool zookeeper::client::impl::ZookeeperClientImpl::CreateNode |
( |
const char * |
path, |
|
|
const char * |
value, |
|
|
int |
flag |
|
) |
| |
◆ CreateNodeSync()
| int zookeeper::client::impl::ZookeeperClientImpl::CreateNodeSync |
( |
const char * |
path, |
|
|
const char * |
value, |
|
|
int * |
err, |
|
|
int |
flag |
|
) |
| |
◆ DeleteNode()
| bool zookeeper::client::impl::ZookeeperClientImpl::DeleteNode |
( |
const char * |
path | ) |
|
◆ DeleteNodeSync()
| int zookeeper::client::impl::ZookeeperClientImpl::DeleteNodeSync |
( |
const char * |
path, |
|
|
int * |
err |
|
) |
| |
◆ GetClient()
| void* zookeeper::client::impl::ZookeeperClientImpl::GetClient |
( |
| ) |
|
|
inline |
◆ GetNodeDataSync()
| int zookeeper::client::impl::ZookeeperClientImpl::GetNodeDataSync |
( |
const char * |
path, |
|
|
char * |
buf, |
|
|
int * |
buf_len, |
|
|
int * |
err |
|
) |
| |
◆ IsConnected()
| bool zookeeper::client::impl::ZookeeperClientImpl::IsConnected |
( |
| ) |
const |
◆ Name()
| std::string zookeeper::client::impl::ZookeeperClientImpl::Name |
( |
| ) |
const |
◆ Reconnect()
| bool zookeeper::client::impl::ZookeeperClientImpl::Reconnect |
( |
| ) |
|
◆ SetClient()
| void zookeeper::client::impl::ZookeeperClientImpl::SetClient |
( |
void * |
client | ) |
|
|
inline |
◆ Shutdown()
| void zookeeper::client::impl::ZookeeperClientImpl::Shutdown |
( |
void |
| ) |
|
◆ client_
| void* zookeeper::client::impl::ZookeeperClientImpl::client_ |
|
private |
◆ connected_
| bool zookeeper::client::impl::ZookeeperClientImpl::connected_ |
|
private |
◆ hostname_
| std::string zookeeper::client::impl::ZookeeperClientImpl::hostname_ |
|
private |
◆ kSessionTimeoutMSec_
| const int zookeeper::client::impl::ZookeeperClientImpl::kSessionTimeoutMSec_ = 60000 |
|
staticprivate |
◆ servers_
| std::string zookeeper::client::impl::ZookeeperClientImpl::servers_ |
|
private |
◆ zk_handle_
| zhandle_t* zookeeper::client::impl::ZookeeperClientImpl::zk_handle_ |
|
private |
◆ zki_
The documentation for this class was generated from the following files: