发布于 2015-09-14 14:53:43 | 130 次阅读 | 评论: 0 | 来源: 网络整理
-
sh.waitForBalancer(onOrNot, timeout, interval)
参数: |
- onOrNot (Boolean) – Whether to wait for the lock to be
on (true) or off (false).
- timeout (integer) – Milliseconds to wait.
- interval (integer) – Milliseconds to sleep.
|
sh.waitForBalancer() is an internal method that waits for
a change in the state of the balancer.