(PECL zookeeper >= 0.1.0)
Represents ZooKeeper session.
$host = ''
[, callable $watcher_cb = NULL
[, int $recv_timeout = 10000
]]] )$path
[, callable $watcher_cb = NULL
[, array &$stat = NULL
[, int $max_size = 0
]]] )Zookeeper::PERM_READCan read nodes value and list its children
Zookeeper::PERM_WRITECan set the nodes value
Zookeeper::PERM_CREATECan create children
Zookeeper::PERM_DELETECan delete children
Zookeeper::PERM_ADMINCan execute set_acl()
Zookeeper::PERM_ALLAll of the above flags ORd together
Zookeeper::LOG_LEVEL_ERROROutputs only error mesages
Zookeeper::LOG_LEVEL_WARNOutputs errors/warnings
Zookeeper::LOG_LEVEL_INFOOutputs big action messages besides errors/warnings
Zookeeper::LOG_LEVEL_DEBUGOutputs all
Zookeeper::EXPIRED_SESSION_STATEConnected but session expired
Zookeeper::AUTH_FAILED_STATEConnected but auth failed
Zookeeper::CONNECTING_STATEConnecting
Zookeeper::ASSOCIATING_STATEAssociating
Zookeeper::CONNECTED_STATEConnected
Zookeeper::READONLY_STATETODO: help us improve this extension.
Zookeeper::NOTCONNECTED_STATEConnection failed