public static class TestActiveMasterManager.NodeDeletionListener 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 |
---|
NodeDeletionListener(org.apache.hadoop.hbase.zookeeper.ZKWatcher watcher,
String node) |
Modifier and Type | Method and Description |
---|---|
void |
nodeDeleted(String path) |
void |
waitForDeletion() |
private static final org.slf4j.Logger LOG
public NodeDeletionListener(org.apache.hadoop.hbase.zookeeper.ZKWatcher watcher, String node)
public void nodeDeleted(String path)
nodeDeleted
in class org.apache.hadoop.hbase.zookeeper.ZKListener
public void waitForDeletion() throws InterruptedException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.