Package org.apache.curator.x.async.api
Interface AsyncWatchBuilder
- All Superinterfaces:
AsyncPathable<AsyncStage<Void>>,WatchableBase<AsyncPathable<AsyncStage<Void>>>
public interface AsyncWatchBuilder
extends WatchableBase<AsyncPathable<AsyncStage<Void>>>, AsyncPathable<AsyncStage<Void>>
-
Method Summary
Modifier and TypeMethodDescriptionwithMode(org.apache.zookeeper.AddWatchMode mode) The mode to use.Methods inherited from interface org.apache.curator.x.async.api.AsyncPathable
forPathMethods inherited from interface org.apache.curator.framework.api.WatchableBase
usingWatcher, usingWatcher
-
Method Details
-
withMode
The mode to use. By default,AddWatchMode.PERSISTENT_RECURSIVEis used- Parameters:
mode- mode- Returns:
- this
-