Package org.apache.curator.framework.api
Interface Watchable<T>
-
- All Known Subinterfaces:
ACLableExistBuilderMain,ExistsBuilder,ExistsBuilderMain,GetChildrenBuilder,GetConfigBuilder,GetDataBuilder,GetDataWatchBackgroundStatable,WatchBackgroundEnsembleable<T>,WatchPathable<T>
- All Known Implementing Classes:
ExistsBuilderImpl,GetChildrenBuilderImpl,GetConfigBuilderImpl,GetDataBuilderImpl
public interface Watchable<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TusingWatcher(CuratorWatcher watcher)Set a watcher for the operationTusingWatcher(org.apache.zookeeper.Watcher watcher)Set a watcher for the operationTwatched()Have the operation set a watch
-
-
-
Method Detail
-
watched
T watched()
Have the operation set a watch- Returns:
- this
-
usingWatcher
T usingWatcher(org.apache.zookeeper.Watcher watcher)
Set a watcher for the operation- Parameters:
watcher- the watcher- Returns:
- this
-
usingWatcher
T usingWatcher(CuratorWatcher watcher)
Set a watcher for the operation- Parameters:
watcher- the watcher- Returns:
- this
-
-