@InterfaceAudience.Private public class LoadBalancerTracker extends ZooKeeperNodeTracker
abortable, nodewatcher| Constructor and Description | 
|---|
| LoadBalancerTracker(ZooKeeperWatcher watcher,
                   Abortable abortable) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | isBalancerOn()Return true if the balance switch is on, false otherwise | 
| void | setBalancerOn(boolean balancerOn)Set the balancer on/off | 
blockUntilAvailable, blockUntilAvailable, checkIfBaseNodeAvailable, getData, getNode, nodeCreated, nodeDataChanged, nodeDeleted, start, stop, toStringgetWatcher, nodeChildrenChangedpublic LoadBalancerTracker(ZooKeeperWatcher watcher, Abortable abortable)
public boolean isBalancerOn()
public void setBalancerOn(boolean balancerOn)
                   throws org.apache.zookeeper.KeeperException
balancerOn - org.apache.zookeeper.KeeperExceptionCopyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.