| Constructor and Description | 
|---|
WatchRegistration(Watcher watcher,
                 String clientPath)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract Map<String,Set<Watcher>> | 
getWatches(int rc)  | 
void | 
register(int rc)
Register the watcher with the set of watches on path. 
 | 
protected boolean | 
shouldAddWatch(int rc)
Determine whether the watch should be added based on return code. 
 | 
public void register(int rc)
rc - the result code of the operation that attempted to
 add the watch on the path.protected boolean shouldAddWatch(int rc)
rc - the result code of the operation that attempted to add the
 watch on the nodeCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.