OpenSDN source code
|
#include <zookeeper_client.h>
Classes | |
class | ZookeeperLockImpl |
Public Member Functions | |
ZookeeperLock (ZookeeperClient *client, const char *path) | |
virtual | ~ZookeeperLock () |
bool | Lock () |
bool | Release () |
Private Member Functions | |
std::string | Id () const |
Private Attributes | |
std::unique_ptr < ZookeeperLockImpl > | impl_ |
Friends | |
class | ::ZookeeperClientTest |
Definition at line 57 of file zookeeper_client.h.
zookeeper::client::ZookeeperLock::ZookeeperLock | ( | ZookeeperClient * | client, |
const char * | path | ||
) |
Definition at line 457 of file zookeeper_client.cc.
|
virtual |
Definition at line 461 of file zookeeper_client.cc.
|
private |
Definition at line 464 of file zookeeper_client.cc.
bool zookeeper::client::ZookeeperLock::Lock | ( | ) |
Definition at line 468 of file zookeeper_client.cc.
bool zookeeper::client::ZookeeperLock::Release | ( | ) |
Definition at line 472 of file zookeeper_client.cc.
|
friend |
Definition at line 66 of file zookeeper_client.h.
|
private |
Definition at line 71 of file zookeeper_client.h.