public class WatchDeregistration extends Object
| Constructor and Description |
|---|
WatchDeregistration(String clientPath,
Watcher watcher,
Watcher.WatcherType watcherType,
boolean local,
org.apache.zookeeper.ZooKeeper.ZKWatchManager zkManager) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClientPath()
Returns client path which has specified for unregistering its watcher
|
Map<Watcher.Event.EventType,Set<Watcher>> |
unregister(int rc)
Unregistering watcher that was added on path.
|
public WatchDeregistration(String clientPath, Watcher watcher, Watcher.WatcherType watcherType, boolean local, org.apache.zookeeper.ZooKeeper.ZKWatchManager zkManager)
public Map<Watcher.Event.EventType,Set<Watcher>> unregister(int rc) throws KeeperException
rc - the result code of the operation that attempted to remove
watch on the path.KeeperExceptionpublic String getClientPath()
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.