Package org.apache.curator.framework.api
Interface WatchableBase<T>
- All Known Subinterfaces:
ACLableExistBuilderMain,AddWatchBuilder,AddWatchBuilder2,AsyncWatchBuilder,AsyncWatchBuilder2,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
Modifier and TypeMethodDescriptionusingWatcher(CuratorWatcher watcher) Set a watcher for the operationusingWatcher(org.apache.zookeeper.Watcher watcher) Set a watcher for the operation
-
Method Details
-
usingWatcher
Set a watcher for the operation- Parameters:
watcher- the watcher- Returns:
- this
-
usingWatcher
Set a watcher for the operation- Parameters:
watcher- the watcher- Returns:
- this
-