ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
该扩展使用libzookeeper库提供与ZooKeeper服务进行通信的API。 ZooKeeper是一个Apache项目,它启用集中式服务来维护配置信息,命名,提供分布式同步以及提供组服务 [ https://pecl.php.net/package/zookeeper](https://pecl.php.net/package/zookeeper) * [预定义常量](https://www.php.net/manual/en/zookeeper.constants.php) * [ZooKeeper功能](https://www.php.net/manual/en/ref.zookeeper.php) * [zookeeper\_dispatch](https://www.php.net/manual/en/function.zookeeper-dispatch.php)—调用挂起操作的回调 * [Zookeeper](https://www.php.net/manual/en/class.zookeeper.php)\-Zookeeper类 * [Zookeeper :: addAuth-](https://www.php.net/manual/en/zookeeper.addauth.php)指定应用程序凭据 * [Zookeeper :: close](https://www.php.net/manual/en/zookeeper.close.php)—关闭[Zookeeper](https://www.php.net/manual/en/zookeeper.close.php)句柄并释放所有资源 * [Zookeeper :: connect](https://www.php.net/manual/en/zookeeper.connect.php)—创建一个句柄以用于与[Zookeeper](https://www.php.net/manual/en/zookeeper.connect.php)通信 * [Zookeeper :: \_\_ construct](https://www.php.net/manual/en/zookeeper.construct.php)—创建一个句柄以用于与[Zookeeper](https://www.php.net/manual/en/zookeeper.construct.php)通信 * [Zookeeper :: create](https://www.php.net/manual/en/zookeeper.create.php)—同步创建节点 * [Zookeeper :: delete](https://www.php.net/manual/en/zookeeper.delete.php)—同步删除[Zookeeper中](https://www.php.net/manual/en/zookeeper.delete.php)的节点 * [Zookeeper :: exists](https://www.php.net/manual/en/zookeeper.exists.php)—同步检查[Zookeeper](https://www.php.net/manual/en/zookeeper.exists.php)中是否存在节点 * [Zookeeper :: get](https://www.php.net/manual/en/zookeeper.get.php)—同步获取与节点关联的数据 * [Zookeeper :: getAcl](https://www.php.net/manual/en/zookeeper.getacl.php)—同步获取与节点关联的acl * [Zookeeper :: getChildren](https://www.php.net/manual/en/zookeeper.getchildren.php)—同步列出节点的子代 * [Zookeeper :: getClientId](https://www.php.net/manual/en/zookeeper.getclientid.php)—返回客户端会话ID,仅在当前连接处于连接状态时才有效(即,上一个观察者状态为ZOO\_CONNECTED\_STATE) * [Zookeeper :: getConfig](https://www.php.net/manual/en/zookeeper.getconfig.php)—获取ZookeeperConfig的实例 * [Zookeeper :: getRecvTimeout](https://www.php.net/manual/en/zookeeper.getrecvtimeout.php)—返回此会话的超时,仅在当前连接处于连接状态时才有效(即,最后的观察者状态为ZOO\_CONNECTED\_STATE)。服务器重新连接后,此值可能会更改 * [Zookeeper :: getState](https://www.php.net/manual/en/zookeeper.getstate.php)—获取[Zookeeper](https://www.php.net/manual/en/zookeeper.getstate.php)连接的状态 * [Zookeeper :: isRecoverable-](https://www.php.net/manual/en/zookeeper.isrecoverable.php)检查是否可以恢复当前的[Zookeeper](https://www.php.net/manual/en/zookeeper.isrecoverable.php)连接状态 * [Zookeeper :: set](https://www.php.net/manual/en/zookeeper.set.php)—设置与节点关联的数据 * [Zookeeper :: setAcl](https://www.php.net/manual/en/zookeeper.setacl.php)—同步设置与节点关联的acl * [Zookeeper :: setDebugLevel-](https://www.php.net/manual/en/zookeeper.setdebuglevel.php)设置库的调试级别 * [Zookeeper :: setDeterministicConnOrder](https://www.php.net/manual/en/zookeeper.setdeterministicconnorder.php)—启用/禁用仲裁端点顺序随机化 * [Zookeeper :: setLogStream](https://www.php.net/manual/en/zookeeper.setlogstream.php)—设置要由库用于记录的流 * [Zookeeper :: setWatcher](https://www.php.net/manual/en/zookeeper.setwatcher.php)—设置观察器功能 * [ZookeeperConfig](https://www.php.net/manual/en/class.zookeeperconfig.php)— ZookeeperConfig类 * [ZookeeperConfig :: add](https://www.php.net/manual/en/zookeeperconfig.add.php)—将服务器添加到集合 * [ZookeeperConfig :: get](https://www.php.net/manual/en/zookeeperconfig.get.php)—同步获取与客户端连接的服务器已知的ZooKeeper集群的最后提交的配置 * [ZookeeperConfig :: remove](https://www.php.net/manual/en/zookeeperconfig.remove.php)—从整体中删除服务器 * [ZookeeperConfig :: set](https://www.php.net/manual/en/zookeeperconfig.set.php)—更改ZK群集的集成成员资格和集成对等方的角色 * [ZookeeperException](https://www.php.net/manual/en/class.zookeeperexception.php)\-ZookeeperException类 * [ZookeeperAuthenticationException](https://www.php.net/manual/en/class.zookeeperauthenticationexception.php)\-ZookeeperAuthenticationException类 * [ZookeeperConnectionException](https://www.php.net/manual/en/class.zookeeperconnectionexception.php)\-ZookeeperConnectionException类 * [ZookeeperMarshallingException](https://www.php.net/manual/en/class.zookeepermarshallingexception.php)\-ZookeeperMarshallingException类 * [ZookeeperNoNodeException](https://www.php.net/manual/en/class.zookeepernonodeexception.php)\-ZookeeperNoNodeException类 * [ZookeeperOperationTimeoutException](https://www.php.net/manual/en/class.zookeeperoperationtimeoutexception.php)\-ZookeeperOperationTimeoutException类 * [ZookeeperSessionException](https://www.php.net/manual/en/class.zookeepersessionexception.php)\-ZookeeperSessionException类