public class WatchManager extends Object
Constructor and Description |
---|
WatchManager() |
Modifier and Type | Method and Description |
---|---|
void |
addWatch(String path,
Watcher watcher) |
void |
dumpWatches(PrintWriter pwriter,
boolean byPath)
String representation of watches.
|
void |
removeWatcher(Watcher watcher) |
int |
size() |
String |
toString()
Brief description of this object.
|
Set<Watcher> |
triggerWatch(String path,
Watcher.Event.EventType type) |
Set<Watcher> |
triggerWatch(String path,
Watcher.Event.EventType type,
Set<Watcher> supress) |
public int size()
public void removeWatcher(Watcher watcher)
public Set<Watcher> triggerWatch(String path, Watcher.Event.EventType type)
public Set<Watcher> triggerWatch(String path, Watcher.Event.EventType type, Set<Watcher> supress)
public String toString()
public void dumpWatches(PrintWriter pwriter, boolean byPath)
byPath
- iff true output watches by paths, otw output
watches by connectionCopyright © 2016 The Apache Software Foundation