public class RemoteConfigRepository extends AbstractConfigRepository
| Constructor and Description |
|---|
RemoteConfigRepository(String appId,
String namespace)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Properties |
getConfig()
Get the config from this repository.
|
ConfigSourceType |
getSourceType()
Return the config's source type, i.e.
|
void |
onLongPollNotified(ServiceDTO longPollNotifiedServiceDto,
ApolloNotificationMessages remoteMessages) |
void |
setUpstreamRepository(ConfigRepository upstreamConfigRepository)
Set the fallback repo for this repository.
|
addChangeListener, initialize, removeChangeListenerpublic Properties getConfig()
ConfigRepositorypublic void setUpstreamRepository(ConfigRepository upstreamConfigRepository)
ConfigRepositoryupstreamConfigRepository - the upstream repopublic ConfigSourceType getSourceType()
ConfigRepositorypublic void onLongPollNotified(ServiceDTO longPollNotifiedServiceDto, ApolloNotificationMessages remoteMessages)
Copyright © 2025. All rights reserved.