AI エージェント向け: ドキュメントインデックスは https://www.mongodb.com/ja-jp/docs/llms.txt で利用できます。すべてのページの markdown バージョンは、いずれかの URL パスに .md を追加することで利用できます。
Docs Menu

sh.waitForPingchange()(mongoshメソッド)

sh.waitForPingChange(activePings, timeout, interval)

sh.waitForPingChange() waits for a change in ping state of one of the activepings, and only returns when the specified ping changes state.

Parameter
タイプ
説明

activePings

配列

mongosコレクションからのアクティブな ping の配列。

timeout

integer

ping 状態の変化を待機するミリ秒数。

interval

integer

各待機サイクルで休止するミリ秒数。

このメソッドは、次の環境でホストされている配置で使用できます。

重要

This command is not supported in MongoDB Atlas clusters. For information on Atlas support for all commands, see Unsupported Commands.

  • MongoDB Enterprise: サブスクリプションベースの自己管理型 MongoDB バージョン

  • MongoDB Community: ソースが利用可能で、無料で使用できる自己管理型の MongoDB のバージョン

このページを評価

項目一覧