Uses of Class
org.apache.zookeeper.server.watch.WatcherMode
-
Packages that use WatcherMode Package Description org.apache.zookeeper.server.watch -
-
Uses of WatcherMode in org.apache.zookeeper.server.watch
Fields in org.apache.zookeeper.server.watch declared as WatcherMode Modifier and Type Field Description static WatcherModeWatcherMode. DEFAULT_WATCHER_MODEMethods in org.apache.zookeeper.server.watch that return WatcherMode Modifier and Type Method Description static WatcherModeWatcherMode. fromZooDef(int mode)static WatcherModeWatcherMode. valueOf(String name)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 WatcherMode Modifier and Type Method Description WatchStatsWatchStats. addMode(WatcherMode mode)Compute stats after given mode attached to node.default booleanIWatchManager. addWatch(String path, Watcher watcher, WatcherMode watcherMode)Add watch to specific path.booleanWatchManager. addWatch(String path, Watcher watcher, WatcherMode watcherMode)default booleanIWatchManager. containsWatcher(String path, Watcher watcher, WatcherMode watcherMode)Checks the specified watcher exists for the given path and mode.booleanWatchManager. containsWatcher(String path, Watcher watcher, WatcherMode watcherMode)booleanWatchStats. hasMode(WatcherMode mode)Check whether given mode is attached to this node.WatchStatsWatchStats. removeMode(WatcherMode mode)Compute stats after given mode removed from node.default booleanIWatchManager. removeWatcher(String path, Watcher watcher, WatcherMode watcherMode)Removes the specified watcher for the given path and mode.booleanWatchManager. removeWatcher(String path, Watcher watcher, WatcherMode watcherMode)
-