Class WatchesPathReport
java.lang.Object
org.apache.zookeeper.server.watch.WatchesPathReport
A watch report, essentially a mapping of path to session IDs of sessions that
have set a watch on that path. This class is immutable.
-
Method Summary
-
Method Details
-
hasSessions
Checks if the given path has watches set.- Parameters:
path- path- Returns:
- true if path has watch set
-
getSessions
-
toMap
-