Package org.apache.curator.framework.api
Interface AddWatchBuilder
- All Superinterfaces:
AddWatchBuilder2
,Backgroundable<WatchableBase<Pathable<Void>>>
,Pathable<Void>
,WatchableBase<Pathable<Void>>
- All Known Implementing Classes:
AddWatchBuilderImpl
-
Method Summary
Modifier and TypeMethodDescriptionwithMode
(org.apache.zookeeper.AddWatchMode mode) The mode to use.Methods inherited from interface org.apache.curator.framework.api.Backgroundable
inBackground, inBackground, inBackground, inBackground, inBackground, inBackground
Methods inherited from interface org.apache.curator.framework.api.WatchableBase
usingWatcher, usingWatcher
-
Method Details
-
withMode
The mode to use. By default,AddWatchMode.PERSISTENT_RECURSIVE
is used- Parameters:
mode
- mode to use- Returns:
- this
-