public static class TestZooKeeperNodeTracker.TestingZKListener
extends ZooKeeperListener
Constructor and Description |
---|
TestingZKListener(ZooKeeperWatcher watcher,
java.lang.String node) |
Modifier and Type | Method and Description |
---|---|
void |
nodeCreated(java.lang.String path) |
void |
nodeDataChanged(java.lang.String path) |
void |
nodeDeleted(java.lang.String path) |
void |
waitForCreation() |
void |
waitForDataChange() |
void |
waitForDeletion() |
public TestingZKListener(ZooKeeperWatcher watcher, java.lang.String node)
public void nodeDeleted(java.lang.String path)
public void nodeCreated(java.lang.String path)
public void nodeDataChanged(java.lang.String path)
public void waitForDeletion() throws java.lang.InterruptedException
java.lang.InterruptedException
public void waitForCreation() throws java.lang.InterruptedException
java.lang.InterruptedException
public void waitForDataChange() throws java.lang.InterruptedException
java.lang.InterruptedException