public class ConfigurationCache extends Object implements ConfigurationChangeListener
CORE_LISTENER_THREAD, EXECUTOR_SERVICE, MAX_LISTENER_THREAD| Constructor and Description |
|---|
ConfigurationCache() |
| Modifier and Type | Method and Description |
|---|---|
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 in interface ConfigurationChangeListenerevent - the eventpublic Configuration proxy(Configuration originalConfiguration) throws Exception
Exceptionpublic static void clear()
Copyright © 2023 Seata. All rights reserved.