public interface Watchable<T>
Modifier and Type | Method and Description |
---|---|
T |
usingWatcher(CuratorWatcher watcher)
Set a watcher for the operation
|
T |
usingWatcher(org.apache.zookeeper.Watcher watcher)
Set a watcher for the operation
|
T |
watched()
Have the operation set a watch
|
T watched()
T usingWatcher(org.apache.zookeeper.Watcher watcher)
watcher
- the watcherT usingWatcher(CuratorWatcher watcher)
watcher
- the watcher