Uses of Enum
org.apache.zookeeper.server.watch.WatcherMode
Packages that use WatcherMode
-
Uses of WatcherMode in org.apache.zookeeper.server.watch
Fields in org.apache.zookeeper.server.watch declared as WatcherModeMethods in org.apache.zookeeper.server.watch that return WatcherModeModifier and TypeMethodDescriptionstatic WatcherMode
WatcherMode.fromZooDef
(int mode) static WatcherMode
Returns the enum constant of this type with the specified name.static WatcherMode[]
WatcherMode.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.zookeeper.server.watch with parameters of type WatcherModeModifier and TypeMethodDescriptionWatchStats.addMode
(WatcherMode mode) Compute stats after given mode attached to node.default boolean
IWatchManager.addWatch
(String path, Watcher watcher, WatcherMode watcherMode) Add watch to specific path.boolean
WatchManager.addWatch
(String path, Watcher watcher, WatcherMode watcherMode) default boolean
IWatchManager.containsWatcher
(String path, Watcher watcher, WatcherMode watcherMode) Checks the specified watcher exists for the given path and mode.boolean
WatchManager.containsWatcher
(String path, Watcher watcher, WatcherMode watcherMode) boolean
WatchStats.hasMode
(WatcherMode mode) Check whether given mode is attached to this node.WatchStats.removeMode
(WatcherMode mode) Compute stats after given mode removed from node.default boolean
IWatchManager.removeWatcher
(String path, Watcher watcher, WatcherMode watcherMode) Removes the specified watcher for the given path and mode.boolean
WatchManager.removeWatcher
(String path, Watcher watcher, WatcherMode watcherMode)