On this page本页内容
sh.waitForBalancer(wait, timeout, interval)
Waits for a change in the state of the balancer. 等待平衡器状态的更改。sh.waitForBalancer()
is an internal method, which takes the following arguments:是一个内部方法,它接受以下参数:
wait | boolean | true to ensure the balancer is now active. true 以确保平衡器现在处于活动状态。false , which waits until balancing stops and becomes inactive.false ,它会等待平衡停止并变为非活动状态。
|
timeout | integer | |
interval | integer |