protected class DistributedMap.LatchChildWatcher extends Object implements org.apache.zookeeper.Watcher
| Constructor and Description |
|---|
LatchChildWatcher() |
LatchChildWatcher(Object lock) |
| Modifier and Type | Method and Description |
|---|---|
void |
await(long timeout) |
org.apache.zookeeper.WatchedEvent |
getWatchedEvent() |
void |
process(org.apache.zookeeper.WatchedEvent event) |
public LatchChildWatcher()
public LatchChildWatcher(Object lock)
public void process(org.apache.zookeeper.WatchedEvent event)
process in interface org.apache.zookeeper.Watcherpublic void await(long timeout)
throws InterruptedException
InterruptedExceptionpublic org.apache.zookeeper.WatchedEvent getWatchedEvent()
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.