Package | Description |
---|---|
org.apache.zookeeper |
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.
|
Copyright © 2017 The Apache Software Foundation