Navigation
This version of the manual is no longer supported.

sh.waitForBalancer()

sh.waitForBalancer(onOrNot, timeout, interval)
Parameters:
  • 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.