发布于 2015-09-14 15:04:09 | 94 次阅读 | 评论: 0 | 来源: 网络整理
-
sh.waitForPingChange(activepings, timeout, interval)
参数: |
- activepings (array) – An array of active pings from the
config.mongos collection.
- timeout (integer) – Milliseconds to wait for a change in ping state.
- interval (integer) – Milliseconds to sleep in each waiting cycle.
|
sh.waitForPingChange() waits for a change in ping state
of the one of the activepings.