Package | Description |
---|---|
org.apache.zookeeper |
Modifier and Type | Method and Description |
---|---|
static AddWatchMode |
AddWatchMode.valueOf(String name)
Returns 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.
|
Modifier and Type | Method and Description |
---|---|
void |
ZooKeeper.addWatch(String basePath,
AddWatchMode mode)
Add a watch to the given znode using the given mode.
|
void |
ZooKeeper.addWatch(String basePath,
AddWatchMode mode,
AsyncCallback.VoidCallback cb,
Object ctx)
Async version of
ZooKeeper.addWatch(String, AddWatchMode) (see it for details) |
void |
ZooKeeper.addWatch(String basePath,
Watcher watcher,
AddWatchMode mode)
Add a watch to the given znode using the given mode.
|
void |
ZooKeeper.addWatch(String basePath,
Watcher watcher,
AddWatchMode mode,
AsyncCallback.VoidCallback cb,
Object ctx)
Async version of
ZooKeeper.addWatch(String, Watcher, AddWatchMode) (see it for details) |
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.