@ConfigurationProperties(value="configcenter") @Validated public class ConfigcenterProperties extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
AUTO_REFRESH_CONFIGS_ENABLE_KEY
是否开启自动刷新configcenter配置(默认为开启)
|
static String |
AUTO_REFRESH_CONFIGS_PERIOD_KEY
自动刷新configcenter配置的周期(单位:毫秒。
|
static ConfigcenterProperties |
INSTANCE
实例
|
| 构造器和说明 |
|---|
ConfigcenterProperties() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAppId() |
String |
getHome() |
String |
getPriorTo() |
String |
getProfileId() |
String |
getRequiredAppId() |
String |
getRequiredProfileId() |
String |
getServerUrl() |
void |
setAppId(String appId) |
void |
setHome(String home) |
void |
setPriorTo(String priorTo) |
void |
setProfileId(String profileId) |
void |
setServerUrl(String serverUrl) |
public static final String AUTO_REFRESH_CONFIGS_ENABLE_KEY
public static final String AUTO_REFRESH_CONFIGS_PERIOD_KEY
public static final ConfigcenterProperties INSTANCE
public String getRequiredAppId()
public String getRequiredProfileId()
public String getAppId()
public void setAppId(String appId)
public String getProfileId()
public void setProfileId(String profileId)
public String getServerUrl()
public void setServerUrl(String serverUrl)
public String getHome()
public void setHome(String home)
public String getPriorTo()
public void setPriorTo(String priorTo)
Copyright © 2019. All rights reserved.