PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

Zookeeper::setDeterministicConnOrder - Enable/disable quorum endpoint order randomization. | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

Zookeeper::setDeterministicConnOrder

(PECL zookeeper >= 0.1.0)

Zookeeper::setDeterministicConnOrderEnable/disable quorum endpoint order randomization.

説明

public static bool Zookeeper::setDeterministicConnOrder ( bool $yesOrNo )

If passed a non-zero value, will make the client connect to quorum peers in the order as specified in the zookeeper_init() call. A zero value causes zookeeper_init() to permute the peer endpoints which is good for more even client connection distribution among the quorum peers.

パラメータ

yesOrNo

Enable/disable quorum endpoint order randomization.

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

エラー / 例外

This method emits PHP error/warning when parameters count or types are wrong or operation fails.

警告

Since version 0.3.0, this method emits ZookeeperException and it's derivatives.

注意

警告

Note: typically this method should NOT be used outside of testing.

注意: これは、関数ではなく 言語構造のため、可変関数 を用いて コールすることはできません。

警告

この関数は (まだ)バイナリデータ対応ではありません!

注意: register_globals: 重要な注意

PHP 4.2.0 以降、PHP ディレクティブ register_globals のデフォルト値は off となっています。 PHP コミュニティは、ユーザーがこのディレクティブの設定に依存せず、 superglobals のような他の手段を使用することを推奨します。

参考


忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「Zookeeper::setDeterministicConnOrder - Enable/disable quorum endpoint order randomization.」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | Zookeeper::setDeterministicConnOrder - Enable/disable quorum endpoint order randomization.」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: