| Interface | Description |
|---|---|
| ConfigurationListener |
Config listener, will get notified when the config it listens on changes.
|
| Constants | Deprecated
Replaced to
CommonConstants |
| 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 | Description |
|---|---|
| AbstractDynamicConfiguration |
The abstract implementation of
DynamicConfiguration |
| AbstractDynamicConfigurationFactory |
Abstract
DynamicConfigurationFactory implementation with cache ability |
| ConfigChangedEvent |
An event raised when the config changed, immutable.
|
| ConfigItem |
Hold content and version information
|
| TreePathDynamicConfiguration |
An abstract implementation of
DynamicConfiguration is like "tree-structure" path :
"file"
"zookeeper"
"consul"
|
| Enum | Description |
|---|---|
| ConfigChangeType |
Config change event type
|
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.