ZookeeperConfig::removeRemove servers from the ensemble 説明
public
void ZookeeperConfig::remove(string
$id_list , int $version = -1, array &$stat = null )パラメータ
戻り値値を返しません。 エラー / 例外This method emits ZookeeperException and it's derivatives when parameters count or types are wrong or fail to save value to node. 例例1 ZookeeperConfig::remove example Remove members.
<?php 上の例の出力は以下となります。 server.1=localhost:2888:3888:participant;0.0.0.0:2181 version=0xca01e881a2 参考
|