PHP » GoLang |
login |
register |
about
|
GoLang Zookeeper::__construct
request it (433)
GoLang replacement for PHP's Zookeeper::__construct
[edit | history]
Zookeeper::__construct(PECL zookeeper >= 0.1.0) Zookeeper::__construct — Create a handle to used communicate with zookeeper Description
public
Zookeeper::__construct
([ 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. Caution
Since version 0.3.0, this method emits ZookeeperException and it's derivatives. See Also
|
more
Recently updated
more
Most requested
more
Last requests
|