Zookeeper::close
(PECL zookeeper >= 0.5.0)
Zookeeper::close — Close the zookeeper handle and free up any resources
说明
public
Zookeeper::close (
void ) :
void
错误/异常
This method emits ZookeeperException and it's derivatives when closing an uninitialized instance.
参见
- Zookeeper::__construct() - Create a handle to used communicate with zookeeper
- Zookeeper::connect() - Create a handle to used communicate with zookeeper
- ZookeeperException