sh.waitForBalancer()
On this page本页内容
Definition定义
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:是一个内部方法,它接受以下参数:Parameter参数Type类型Description描述waitboolean Optional.可选的。Set to设置为trueto ensure the balancer is now active.true以确保平衡器现在处于活动状态。The default is默认值为false, which waits until balancing stops and becomes inactive.false,等待平衡停止并变为非活动状态。timeoutinteger Milliseconds to wait.等待的毫秒数。intervalinteger Milliseconds to sleep.睡眠的毫秒数。