Class TestZKNodeTracker.TestingZKListener
java.lang.Object
org.apache.hadoop.hbase.zookeeper.ZKListener
org.apache.hadoop.hbase.zookeeper.TestZKNodeTracker.TestingZKListener
- Enclosing class:
- TestZKNodeTracker
public static class TestZKNodeTracker.TestingZKListener
extends org.apache.hadoop.hbase.zookeeper.ZKListener
-
Field Summary
Modifier and TypeFieldDescriptionprivate Semaphore
private Semaphore
private Semaphore
private static final org.slf4j.Logger
private String
Fields inherited from class org.apache.hadoop.hbase.zookeeper.ZKListener
watcher
-
Constructor Summary
ConstructorDescriptionTestingZKListener
(org.apache.hadoop.hbase.zookeeper.ZKWatcher watcher, String node) -
Method Summary
Modifier and TypeMethodDescriptionvoid
nodeCreated
(String path) void
nodeDataChanged
(String path) void
nodeDeleted
(String path) (package private) void
(package private) void
(package private) void
Methods inherited from class org.apache.hadoop.hbase.zookeeper.ZKListener
getWatcher, nodeChildrenChanged
-
Field Details
-
LOG
-
deletedLock
-
createdLock
-
changedLock
-
node
-
-
Constructor Details
-
TestingZKListener
TestingZKListener(org.apache.hadoop.hbase.zookeeper.ZKWatcher watcher, String node)
-
-
Method Details
-
nodeDeleted
- Overrides:
nodeDeleted
in classorg.apache.hadoop.hbase.zookeeper.ZKListener
-
nodeCreated
- Overrides:
nodeCreated
in classorg.apache.hadoop.hbase.zookeeper.ZKListener
-
nodeDataChanged
- Overrides:
nodeDataChanged
in classorg.apache.hadoop.hbase.zookeeper.ZKListener
-
waitForDeletion
- Throws:
InterruptedException
-
waitForCreation
- Throws:
InterruptedException
-
waitForDataChange
- Throws:
InterruptedException
-