#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.
zookeeper::client::impl::ZookeeperClientImpl::~ZookeeperClientImpl |
( |
| ) |
|
|
virtual |
bool zookeeper::client::impl::ZookeeperClientImpl::CheckNodeExist |
( |
const char * |
path | ) |
|
bool zookeeper::client::impl::ZookeeperClientImpl::Connect |
( |
| ) |
|
bool zookeeper::client::impl::ZookeeperClientImpl::CreateNode |
( |
const char * |
path, |
|
|
const char * |
value, |
|
|
int |
flag |
|
) |
| |
int zookeeper::client::impl::ZookeeperClientImpl::CreateNodeSync |
( |
const char * |
path, |
|
|
const char * |
value, |
|
|
int * |
err, |
|
|
int |
flag |
|
) |
| |
bool zookeeper::client::impl::ZookeeperClientImpl::DeleteNode |
( |
const char * |
path | ) |
|
int zookeeper::client::impl::ZookeeperClientImpl::DeleteNodeSync |
( |
const char * |
path, |
|
|
int * |
err |
|
) |
| |
void* zookeeper::client::impl::ZookeeperClientImpl::GetClient |
( |
| ) |
|
|
inline |
int zookeeper::client::impl::ZookeeperClientImpl::GetNodeDataSync |
( |
const char * |
path, |
|
|
char * |
buf, |
|
|
int * |
buf_len, |
|
|
int * |
err |
|
) |
| |
bool zookeeper::client::impl::ZookeeperClientImpl::IsConnected |
( |
| ) |
const |
std::string zookeeper::client::impl::ZookeeperClientImpl::Name |
( |
| ) |
const |
bool zookeeper::client::impl::ZookeeperClientImpl::Reconnect |
( |
| ) |
|
void zookeeper::client::impl::ZookeeperClientImpl::SetClient |
( |
void * |
client | ) |
|
|
inline |
void zookeeper::client::impl::ZookeeperClientImpl::Shutdown |
( |
void |
| ) |
|
void* zookeeper::client::impl::ZookeeperClientImpl::client_ |
|
private |
bool zookeeper::client::impl::ZookeeperClientImpl::connected_ |
|
private |
std::string zookeeper::client::impl::ZookeeperClientImpl::hostname_ |
|
private |
const int zookeeper::client::impl::ZookeeperClientImpl::kSessionTimeoutMSec_ = 60000 |
|
staticprivate |
std::string zookeeper::client::impl::ZookeeperClientImpl::servers_ |
|
private |
zhandle_t* zookeeper::client::impl::ZookeeperClientImpl::zk_handle_ |
|
private |
The documentation for this class was generated from the following files: