public class ConfigurationCache extends Object implements ConfigurationChangeListener
CORE_LISTENER_THREAD, EXECUTOR_SERVICE, MAX_LISTENER_THREAD| 构造器和说明 |
|---|
ConfigurationCache() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
addConfigListener(String dataId,
ConfigurationChangeListener... listeners) |
static void |
clear() |
static ConfigurationCache |
getInstance() |
void |
onChangeEvent(ConfigurationChangeEvent event)
Process.
|
Configuration |
proxy(Configuration originalConfiguration) |
static void |
removeConfigListener(String dataId,
ConfigurationChangeListener... listeners) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterEvent, beforeEvent, getExecutorService, onProcessEvent, onShutDownpublic static void addConfigListener(String dataId, ConfigurationChangeListener... listeners)
public static void removeConfigListener(String dataId, ConfigurationChangeListener... listeners)
public static ConfigurationCache getInstance()
public void onChangeEvent(ConfigurationChangeEvent event)
ConfigurationChangeListeneronChangeEvent 在接口中 ConfigurationChangeListenerevent - the eventpublic Configuration proxy(Configuration originalConfiguration)
public static void clear()
Copyright © 2022 Seata. All rights reserved.