@InterfaceAudience.Public
public interface Watcher
process(org.apache.zookeeper.WatchedEvent) is triggered by a watch firing, such as
Watcher.Event.EventType.NodeDataChanged, WatchedEvent.getZxid() will
return the zxid of the transaction that caused said watch to fire. If
is returned then the server must be updated to
support this feature.| Modifier and Type | Interface and Description |
|---|---|
static interface |
Watcher.Event
This interface defines the possible states an Event may represent
|
static class |
Watcher.WatcherType
Enumeration of types of watchers
|
| Modifier and Type | Method and Description |
|---|---|
void |
process(WatchedEvent event) |
void process(WatchedEvent event)
Copyright © 2008–2026 The Apache Software Foundation. All rights reserved.