Package | Description |
---|---|
org.apache.zookeeper | |
org.apache.zookeeper.server |
ZooKeeper server theory of operation
|
Modifier and Type | Method and Description |
---|---|
static Watcher.WatcherType |
Watcher.WatcherType.fromInt(int intValue) |
static Watcher.WatcherType |
Watcher.WatcherType.valueOf(String name)
Returns 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.
|
Modifier and Type | Method and Description |
---|---|
void |
ZooKeeper.removeAllWatches(String path,
Watcher.WatcherType watcherType,
boolean local)
For the given znode path, removes all the registered watchers of given
watcherType.
|
void |
ZooKeeper.removeAllWatches(String path,
Watcher.WatcherType watcherType,
boolean local,
AsyncCallback.VoidCallback cb,
Object ctx)
The asynchronous version of removeAllWatches.
|
void |
ZooKeeper.removeWatches(String path,
Watcher watcher,
Watcher.WatcherType watcherType,
boolean local)
For the given znode path, removes the specified watcher of given
watcherType.
|
void |
ZooKeeper.removeWatches(String path,
Watcher watcher,
Watcher.WatcherType watcherType,
boolean local,
AsyncCallback.VoidCallback cb,
Object ctx)
The asynchronous version of removeWatches.
|
Constructor and Description |
---|
WatchDeregistration(String clientPath,
Watcher watcher,
Watcher.WatcherType watcherType,
boolean local,
org.apache.zookeeper.ZKWatchManager zkManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
ZKDatabase.containsWatcher(String path,
Watcher.WatcherType type,
Watcher watcher)
Check whether the given watcher exists in datatree
|
boolean |
DataTree.containsWatcher(String path,
Watcher.WatcherType type,
Watcher watcher) |
boolean |
ZKDatabase.removeWatch(String path,
Watcher.WatcherType type,
Watcher watcher)
Remove watch from the datatree
|
boolean |
DataTree.removeWatch(String path,
Watcher.WatcherType type,
Watcher watcher) |
Copyright © 2008–2023 The Apache Software Foundation. All rights reserved.