Package | Description |
---|---|
org.apache.zookeeper.server.watch |
Modifier and Type | Field and Description |
---|---|
static WatcherMode |
WatcherMode.DEFAULT_WATCHER_MODE |
Modifier and Type | Method and Description |
---|---|
static WatcherMode |
WatcherMode.fromZooDef(int mode) |
static WatcherMode |
WatcherMode.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.
|
Modifier and Type | Method and Description |
---|---|
WatchStats |
WatchStats.addMode(WatcherMode mode)
Compute stats after given mode attached to node.
|
boolean |
WatchManager.addWatch(String path,
Watcher watcher,
WatcherMode watcherMode) |
default boolean |
IWatchManager.addWatch(String path,
Watcher watcher,
WatcherMode watcherMode)
Add watch to specific path.
|
boolean |
WatchManager.containsWatcher(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 |
WatchStats.hasMode(WatcherMode mode)
Check whether given mode is attached to this node.
|
WatchStats |
WatchStats.removeMode(WatcherMode mode)
Compute stats after given mode removed from node.
|
boolean |
WatchManager.removeWatcher(String path,
Watcher watcher,
WatcherMode watcherMode) |
default boolean |
IWatchManager.removeWatcher(String path,
Watcher watcher,
WatcherMode watcherMode)
Removes the specified watcher for the given path and mode.
|
Copyright © 2008–2025 The Apache Software Foundation. All rights reserved.