Package org.apache.curator.framework.api
Interface WatchableBase<T>
-
- All Known Subinterfaces:
ACLableExistBuilderMain,AddWatchBuilder,AddWatchBuilder2,ExistsBuilder,ExistsBuilderMain,GetChildrenBuilder,GetConfigBuilder,GetDataBuilder,GetDataWatchBackgroundStatable,Watchable<T>,WatchBackgroundEnsembleable<T>,WatchPathable<T>
- All Known Implementing Classes:
AddWatchBuilderImpl,ExistsBuilderImpl,GetChildrenBuilderImpl,GetConfigBuilderImpl,GetDataBuilderImpl
public interface WatchableBase<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 operation
-
-
-
Method Detail
-
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
-
-