|
Zookeeper::connectCreate a handle to used communicate with zookeeper. Description
public
void Zookeeper::connect
( string
$host
[, callable $watcher_cb = null
[, int $recv_timeout = 10000
]] )This method creates a new handle and a zookeeper session that corresponds to that handle. Session establishment is asynchronous, meaning that the session should not be considered established until (and unless) an event of state ZOO_CONNECTED_STATE is received. Parameters
Errors/ExceptionsThis method emits PHP error/warning when parameters count or types are wrong or could not init instance. See Also
|