Class WatchesBuilderImpl
- java.lang.Object
-
- org.apache.curator.framework.imps.RemoveWatchesBuilderImpl
-
- org.apache.curator.framework.imps.WatchesBuilderImpl
-
- All Implemented Interfaces:
Backgroundable<ErrorListenerPathable<java.lang.Void>>,BackgroundPathable<java.lang.Void>,BackgroundPathableQuietlyable<java.lang.Void>,ErrorListenerPathable<java.lang.Void>,Guaranteeable<BackgroundPathableQuietlyable<java.lang.Void>>,Pathable<java.lang.Void>,Quietly<BackgroundPathable<java.lang.Void>>,RemoveWatchesBuilder,RemoveWatchesLocal,RemoveWatchesType,WatchesBuilder
public class WatchesBuilderImpl extends RemoveWatchesBuilderImpl implements WatchesBuilder
-
-
Constructor Summary
Constructors Constructor Description WatchesBuilderImpl(CuratorFrameworkImpl client)WatchesBuilderImpl(CuratorFrameworkImpl client, org.apache.zookeeper.Watcher watcher, CuratorWatcher curatorWatcher, org.apache.zookeeper.Watcher.WatcherType watcherType, boolean guaranteed, boolean local, boolean quietly, Backgrounding backgrounding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddWatchBuilderadd()Start an add watch operation-
Methods inherited from class org.apache.curator.framework.imps.RemoveWatchesBuilderImpl
forPath, getClient, guaranteed, inBackground, inBackground, inBackground, inBackground, inBackground, inBackground, locally, ofType, performBackgroundOperation, quietly, remove, remove, removeAll, withUnhandledErrorListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.curator.framework.api.RemoveWatchesBuilder
remove, remove, removeAll
-
-
-
-
Constructor Detail
-
WatchesBuilderImpl
public WatchesBuilderImpl(CuratorFrameworkImpl client)
-
WatchesBuilderImpl
public WatchesBuilderImpl(CuratorFrameworkImpl client, org.apache.zookeeper.Watcher watcher, CuratorWatcher curatorWatcher, org.apache.zookeeper.Watcher.WatcherType watcherType, boolean guaranteed, boolean local, boolean quietly, Backgrounding backgrounding)
-
-
Method Detail
-
add
public AddWatchBuilder add()
Description copied from interface:WatchesBuilderStart an add watch operation- Specified by:
addin interfaceWatchesBuilder- Returns:
- builder
-
-