@InterfaceAudience.Private public class RegionServerAddressTracker extends ZKListener
watcher| Constructor and Description |
|---|
RegionServerAddressTracker(ZKWatcher watcher,
Abortable abortable) |
| Modifier and Type | Method and Description |
|---|---|
List<ServerName> |
getRegionServers() |
void |
nodeChildrenChanged(String path)
Called when an existing node has a child node added or removed.
|
getWatcher, nodeCreated, nodeDataChanged, nodeDeletedpublic void nodeChildrenChanged(String path)
ZKListenernodeChildrenChanged in class ZKListenerpath - full path of the node whose children have changedpublic List<ServerName> getRegionServers()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.