-
Couldn't load subscription status.
- Fork 216
Zookeeper::__construct
Timandes White edited this page May 21, 2015
·
1 revision
Zookeeper::__construct - Create a Zookeeper instance
public Zookeeper::__construct( [$host = '' [, $watcher_cb = null [, $recv_timeout = 10000 ]]] )
Create a Zookeeper instance
host
CSV list of host:port values (e.g. "host1:2181,host2:2181")
watcher_cb
TODO:
recv_timeout
TODO:
A Zookeeper object.
<?php
$zookeeper = new Zookeeper('localhost:2181');
?>