public class PureApolloConfig
extends com.ctrip.framework.apollo.internals.DefaultConfig
implements com.ctrip.framework.apollo.internals.RepositoryChangeListener
| Constructor and Description |
|---|
PureApolloConfig(String namespace,
com.ctrip.framework.apollo.internals.ConfigRepository configRepository)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getProperty(String key,
String defaultValue) |
Set<String> |
getPropertyNames() |
getSourceType, onRepositoryChangeaddChangeListener, addChangeListener, addChangeListener, getArrayProperty, getBooleanProperty, getByteProperty, getDateProperty, getDateProperty, getDateProperty, getDoubleProperty, getDurationProperty, getEnumProperty, getFloatProperty, getIntProperty, getLongProperty, getProperty, getShortProperty, removeChangeListenerpublic PureApolloConfig(String namespace, com.ctrip.framework.apollo.internals.ConfigRepository configRepository)
namespace - the namespace of this config instanceconfigRepository - the config repository for this config instanceCopyright © 2021 Ctrip, Inc.. All rights reserved.