public class CacheListener extends Object implements org.apache.dubbo.remoting.zookeeper.DataListener
| 构造器和说明 |
|---|
CacheListener(String rootPath) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addListener(String key,
ConfigurationListener configurationListener) |
void |
dataChanged(String path,
Object value,
org.apache.dubbo.remoting.zookeeper.EventType eventType) |
Set<ConfigurationListener> |
getConfigurationListeners(String key) |
void |
removeAllListeners() |
void |
removeListener(String key,
ConfigurationListener configurationListener) |
public CacheListener(String rootPath)
public void addListener(String key, ConfigurationListener configurationListener)
public void removeListener(String key, ConfigurationListener configurationListener)
public void removeAllListeners()
public Set<ConfigurationListener> getConfigurationListeners(String key)
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.