@InterfaceAudience.Private public class LoadBalancerTracker extends ZooKeeperNodeTracker
abortable, node
watcher
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, toString
getWatcher, nodeChildrenChanged
public LoadBalancerTracker(ZooKeeperWatcher watcher, Abortable abortable)