public class ZookeeperServiceDiscoveryChangeWatcher extends Object implements org.apache.curator.framework.api.CuratorWatcher
ServiceDiscovery Change watcher only interests in
Watcher.Event.EventType#NodeChildrenChanged and Watcher.Event.EventType#NodeDataChanged event types,
which will multicast a ServiceInstancesChangedEvent when the service node has been changed.| Constructor and Description |
|---|
ZookeeperServiceDiscoveryChangeWatcher(ZookeeperServiceDiscovery zookeeperServiceDiscovery,
String serviceName) |
public ZookeeperServiceDiscoveryChangeWatcher(ZookeeperServiceDiscovery zookeeperServiceDiscovery, String serviceName)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.