Uses of Enum
org.apache.zookeeper.Watcher.WatcherType
Packages that use Watcher.WatcherType
Package
Description
ZooKeeper server theory of operation
-
Uses of Watcher.WatcherType in org.apache.zookeeper
Methods in org.apache.zookeeper that return Watcher.WatcherTypeModifier and TypeMethodDescriptionstatic Watcher.WatcherTypeWatcher.WatcherType.fromInt(int intValue) static Watcher.WatcherTypeReturns the enum constant of this type with the specified name.static Watcher.WatcherType[]Watcher.WatcherType.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.zookeeper with parameters of type Watcher.WatcherTypeModifier and TypeMethodDescriptionvoidZooKeeper.removeAllWatches(String path, Watcher.WatcherType watcherType, boolean local) For the given znode path, removes all the registered watchers of given watcherType.voidZooKeeper.removeAllWatches(String path, Watcher.WatcherType watcherType, boolean local, AsyncCallback.VoidCallback cb, Object ctx) The asynchronous version of removeAllWatches.voidZooKeeper.removeWatches(String path, Watcher watcher, Watcher.WatcherType watcherType, boolean local) For the given znode path, removes the specified watcher of given watcherType.voidZooKeeper.removeWatches(String path, Watcher watcher, Watcher.WatcherType watcherType, boolean local, AsyncCallback.VoidCallback cb, Object ctx) The asynchronous version of removeWatches.Constructors in org.apache.zookeeper with parameters of type Watcher.WatcherTypeModifierConstructorDescriptionWatchDeregistration(String clientPath, Watcher watcher, Watcher.WatcherType watcherType, boolean local, org.apache.zookeeper.ZKWatchManager zkManager) -
Uses of Watcher.WatcherType in org.apache.zookeeper.server
Methods in org.apache.zookeeper.server with parameters of type Watcher.WatcherTypeModifier and TypeMethodDescriptionbooleanDataTree.containsWatcher(String path, Watcher.WatcherType type, Watcher watcher) booleanZKDatabase.containsWatcher(String path, Watcher.WatcherType type, Watcher watcher) Check whether the given watcher exists in datatreebooleanDataTree.removeWatch(String path, Watcher.WatcherType type, Watcher watcher) booleanZKDatabase.removeWatch(String path, Watcher.WatcherType type, Watcher watcher) Remove watch from the datatree