类 NacosConfigProperties
java.lang.Object
com.alibaba.cloud.nacos.NacosConfigProperties
- 直接已知子类:
NacosConfigDataLoadProperties
Nacos properties.
- 作者:
- leijuan, xiaojing, pbting, lyuzb
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明assemble properties for configService.com.alibaba.nacos.api.config.ConfigService已过时。protected voidenrichNacosConfigProperties(Properties nacosConfigProperties) 已过时。org.springframework.core.env.Environment已过时。getGroup()getName()已过时。已过时。intvoidinit()booleanprotected StringresolveKey(String key) voidsetAccessKey(String accessKey) voidsetClusterName(String clusterName) voidsetConfigLongPollTimeout(String configLongPollTimeout) voidsetConfigRetryTime(String configRetryTime) voidsetContextPath(String contextPath) voidsetEnableRemoteSyncConfig(Boolean enableRemoteSyncConfig) voidvoidsetEndpoint(String endpoint) voidsetEnvironment(org.springframework.core.env.Environment environment) voidsetExtConfig(List<NacosConfigProperties.Config> extConfig) 已过时。voidsetExtensionConfigs(List<NacosConfigProperties.Config> extensionConfigs) voidsetFileExtension(String fileExtension) voidvoidsetMaxRetry(String maxRetry) voidvoidsetNamespace(String namespace) voidsetPassword(String password) voidvoidsetRamRoleName(String ramRoleName) voidsetRefreshableDataids(String refreshableDataids) 已过时。voidsetRefreshEnabled(boolean refreshEnabled) voidsetSecretKey(String secretKey) voidsetServerAddr(String serverAddr) voidsetSharedConfigs(List<NacosConfigProperties.Config> sharedConfigs) voidsetSharedDataids(String sharedDataids) 已过时。voidsetTimeout(int timeout) voidsetUsername(String username) toString()
-
字段详细资料
-
构造器详细资料
-
NacosConfigProperties
public NacosConfigProperties()
-
-
方法详细资料
-
init
@PostConstruct public void init() -
getServerAddr
-
setServerAddr
-
getUsername
-
setUsername
-
getPassword
-
setPassword
-
getPrefix
-
setPrefix
-
getFileExtension
-
setFileExtension
-
getGroup
-
setGroup
-
getTimeout
public int getTimeout() -
setTimeout
public void setTimeout(int timeout) -
getMaxRetry
-
setMaxRetry
-
getConfigLongPollTimeout
-
setConfigLongPollTimeout
-
getConfigRetryTime
-
setConfigRetryTime
-
getEnableRemoteSyncConfig
-
setEnableRemoteSyncConfig
-
getEndpoint
-
setEndpoint
-
getNamespace
-
setNamespace
-
getAccessKey
-
setAccessKey
-
getSecretKey
-
setSecretKey
-
getRamRoleName
-
setRamRoleName
-
getEncode
-
setEncode
-
getContextPath
-
setContextPath
-
getClusterName
-
setClusterName
-
getName
-
setName
-
getEnvironment
public org.springframework.core.env.Environment getEnvironment() -
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment) -
getExtensionConfigs
-
setExtensionConfigs
-
isRefreshEnabled
public boolean isRefreshEnabled() -
setRefreshEnabled
public void setRefreshEnabled(boolean refreshEnabled) -
getRefreshableDataids
已过时。Not providing support,the need to refresh is specified by the respective refresh configuration and not use it at the same time .- 返回:
- string
-
setRefreshableDataids
已过时。Not providing support,the need to refresh is specified by the respective refresh configuration and not use it at the same time .- 参数:
refreshableDataids- refreshable dataids ,multiple separated by commas .
-
getExtConfig
@Deprecated @DeprecatedConfigurationProperty(reason="use spring.config.import instead") public List<NacosConfigProperties.Config> getExtConfig()已过时。recommend to useextensionConfigsand not use it at the same time .- 返回:
- extensionConfigs
-
setExtConfig
已过时。 -
configServiceInstance
已过时。recommend to useNacosConfigManager.getConfigService().- 返回:
- ConfigService
-
getConfigServiceProperties
已过时。recommend to useassembleConfigServiceProperties().- 返回:
- ConfigServiceProperties
-
assembleConfigServiceProperties
assemble properties for configService. (cause by rename : Remove the interference of auto prompts when writing,because autocue is based on get method.- 返回:
- properties
-
enrichNacosConfigProperties
-
resolveKey
-
toString
-