public class CacheListener extends Object implements DataListener
| 构造器和说明 |
|---|
CacheListener(String rootPath,
CountDownLatch initializedLatch) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addListener(String key,
ConfigurationListener configurationListener) |
void |
dataChanged(String path,
Object value,
EventType eventType) |
void |
removeListener(String key,
ConfigurationListener configurationListener) |
public CacheListener(String rootPath, CountDownLatch initializedLatch)
public void addListener(String key, ConfigurationListener configurationListener)
public void removeListener(String key, ConfigurationListener configurationListener)
public void dataChanged(String path, Object value, EventType eventType)
dataChanged 在接口中 DataListenerCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.