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