sh.getBalancerState()

sh.getBalancerState()
Returns:返回:boolean

sh.getBalancerState() returns true when the balancer is enabled and false if the balancer is disabled. 启用平衡器时,sh.getBalancerState()返回true;禁用平衡器时,它返回falseThis does not reflect the current state of balancing operations: use sh.isBalancerRunning() to check the current state of the balancer.这并不反映平衡操作的当前状态:使用sh.isBalancerRunning()检查平衡器的当前状态。

←  sh.getBalancerHost()sh.removeTagRange() →