Docs Home → MongoDB Manual
sh.waitForBalancerOff()
Definition定义
sh.waitForBalancerOff(timeout, interval)
-
Internal method that waits until the balancer is not running.等待平衡器未运行的内部方法。
Parameter参数 | Type类型 | Description描述 |
timeout | integer | Milliseconds to wait.等待毫秒。 |
interval | integer | Milliseconds to sleep.还有几毫秒的睡眠时间。 |