public static class TestMasterAddressTracker.NodeCreationListener extends org.apache.hadoop.hbase.zookeeper.ZKListener
Modifier and Type | Field and Description |
---|---|
private Semaphore |
lock |
private static org.slf4j.Logger |
LOG |
private String |
node |
Constructor and Description |
---|
NodeCreationListener(org.apache.hadoop.hbase.zookeeper.ZKWatcher watcher,
String node) |
Modifier and Type | Method and Description |
---|---|
void |
nodeCreated(String path) |
void |
waitForCreation() |
private static final org.slf4j.Logger LOG
public NodeCreationListener(org.apache.hadoop.hbase.zookeeper.ZKWatcher watcher, String node)
public void nodeCreated(String path)
nodeCreated
in class org.apache.hadoop.hbase.zookeeper.ZKListener
public void waitForCreation() throws InterruptedException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.