sh.waitForPingChange()

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.

MongoDB Manual (Index)

关于

生态系统

格式

资源