Package org.apache.curator.framework.api
Interface AddWatchBuilder
-
- All Superinterfaces:
AddWatchBuilder2,Backgroundable<WatchableBase<Pathable<java.lang.Void>>>,Pathable<java.lang.Void>,WatchableBase<Pathable<java.lang.Void>>
- All Known Implementing Classes:
AddWatchBuilderImpl
public interface AddWatchBuilder extends AddWatchBuilder2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddWatchBuilder2withMode(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 Detail
-
withMode
AddWatchBuilder2 withMode(org.apache.zookeeper.AddWatchMode mode)
The mode to use. By default,AddWatchMode.PERSISTENT_RECURSIVEis used- Parameters:
mode- mode to use- Returns:
- this
-
-