Package | Description |
---|---|
org.apache.zookeeper | |
org.apache.zookeeper.server |
ZooKeeper server theory of operation
ZooKeeperServer is designed to work in standalone mode and also
be extensible so that it can be used to implement the quorum based
version of ZooKeeper.
|
Modifier and Type | Method and Description |
---|---|
static Watcher.Event.EventType |
Watcher.Event.EventType.fromInt(int intValue) |
Watcher.Event.EventType |
WatchedEvent.getType() |
static Watcher.Event.EventType |
Watcher.Event.EventType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Watcher.Event.EventType[] |
Watcher.Event.EventType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Set<Watcher> |
ClientWatchManager.materialize(Watcher.Event.KeeperState state,
Watcher.Event.EventType type,
String path)
Return a set of watchers that should be notified of the event.
|
Constructor and Description |
---|
WatchedEvent(Watcher.Event.EventType eventType,
Watcher.Event.KeeperState keeperState,
String path)
Create a WatchedEvent with specified type, state and path
|
Modifier and Type | Method and Description |
---|---|
Set<Watcher> |
WatchManager.triggerWatch(String path,
Watcher.Event.EventType type) |
Set<Watcher> |
WatchManager.triggerWatch(String path,
Watcher.Event.EventType type,
Set<Watcher> supress) |
Copyright © 2017 The Apache Software Foundation