@InterfaceAudience.Private public class MetaRegionLocationCache extends ZKListener
watcher| Constructor and Description |
|---|
MetaRegionLocationCache(ZKWatcher zkWatcher) |
| Modifier and Type | Method and Description |
|---|---|
Optional<List<HRegionLocation>> |
getMetaRegionLocations()
Returns Optional list of HRegionLocations for meta replica(s), null if the cache is empty.
|
void |
nodeChildrenChanged(String path) |
void |
nodeCreated(String path) |
void |
nodeDataChanged(String path) |
void |
nodeDeleted(String path) |
getWatcherpublic MetaRegionLocationCache(ZKWatcher zkWatcher)
public Optional<List<HRegionLocation>> getMetaRegionLocations()
public void nodeCreated(String path)
nodeCreated in class ZKListenerpublic void nodeDeleted(String path)
nodeDeleted in class ZKListenerpublic void nodeDataChanged(String path)
nodeDataChanged in class ZKListenerpublic void nodeChildrenChanged(String path)
nodeChildrenChanged in class ZKListenerCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.