Uses of Enum
org.apache.zookeeper.AddWatchMode
Packages that use AddWatchMode
-
Uses of AddWatchMode in org.apache.zookeeper
Methods in org.apache.zookeeper that return AddWatchModeModifier and TypeMethodDescriptionstatic AddWatchModeReturns the enum constant of this type with the specified name.static AddWatchMode[]AddWatchMode.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 AddWatchModeModifier and TypeMethodDescriptionvoidZooKeeper.addWatch(String basePath, AddWatchMode mode) Add a watch to the given znode using the given mode.voidZooKeeper.addWatch(String basePath, AddWatchMode mode, AsyncCallback.VoidCallback cb, Object ctx) Async version ofZooKeeper.addWatch(String, AddWatchMode)(see it for details)voidZooKeeper.addWatch(String basePath, Watcher watcher, AddWatchMode mode) Add a watch to the given znode using the given mode.voidZooKeeper.addWatch(String basePath, Watcher watcher, AddWatchMode mode, AsyncCallback.VoidCallback cb, Object ctx) Async version ofZooKeeper.addWatch(String, Watcher, AddWatchMode)(see it for details)