| Class and Description |
|---|
| DynamicConfiguration
Dynamic Configuration
From the use scenario internally inside framework, there are mainly three kinds of methods: DynamicConfiguration.getProperties(String, String, long), get configuration file from Config Center at start up.
DynamicConfiguration.addListener(String, String, ConfigurationListener)/ DynamicConfiguration.removeListener(String, String, ConfigurationListener)
, add or remove listeners for governance rules or config items that need to watch.
Configuration.getProperty(String, Object), get a single config item.
DynamicConfiguration.getConfig(String, String, long), get the specified config
|
| DynamicConfigurationFactory
The factory interface to create the instance of
DynamicConfiguration |
| Class and Description |
|---|
| AbstractDynamicConfiguration
The abstract implementation of
DynamicConfiguration |
| ConfigChangedEvent
An event raised when the config changed, immutable.
|
| ConfigChangeType
Config change event type
|
| ConfigItem
Hold content and version information
|
| ConfigurationListener
Config listener, will get notified when the config it listens on changes.
|
| DynamicConfiguration
Dynamic Configuration
From the use scenario internally inside framework, there are mainly three kinds of methods: DynamicConfiguration.getProperties(String, String, long), get configuration file from Config Center at start up.
DynamicConfiguration.addListener(String, String, ConfigurationListener)/ DynamicConfiguration.removeListener(String, String, ConfigurationListener)
, add or remove listeners for governance rules or config items that need to watch.
Configuration.getProperty(String, Object), get a single config item.
DynamicConfiguration.getConfig(String, String, long), get the specified config
|
| DynamicConfigurationFactory
The factory interface to create the instance of
DynamicConfiguration |
| Class and Description |
|---|
| ConfigurationListener
Config listener, will get notified when the config it listens on changes.
|
| DynamicConfiguration
Dynamic Configuration
From the use scenario internally inside framework, there are mainly three kinds of methods: DynamicConfiguration.getProperties(String, String, long), get configuration file from Config Center at start up.
DynamicConfiguration.addListener(String, String, ConfigurationListener)/ DynamicConfiguration.removeListener(String, String, ConfigurationListener)
, add or remove listeners for governance rules or config items that need to watch.
Configuration.getProperty(String, Object), get a single config item.
DynamicConfiguration.getConfig(String, String, long), get the specified config
|
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.