@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface NacosConfigListener
| 限定符和类型 | 可选元素和说明 |
|---|---|
Class<? extends NacosConfigConverter> |
converter
Specify
Nacos configuraion convertor class to convert target type instance. |
String |
groupId
Nacos Group ID.
|
NacosProperties |
properties
The
NacosProperties attribute, If not specified, it will use global Nacos Properties. |
long |
timeout
Maximum timeout value of execution in milliseconds, which is used to prevent long-time blocking execution
impacting others.
|
ConfigType |
type
Nacos Config type.
|
public abstract String dataId
public abstract String groupId
Constants.DEFAULT_GROUP;public abstract ConfigType type
ConfigType.UNSETpublic abstract Class<? extends NacosConfigConverter> converter
Nacos configuraion convertor class to convert target type instance.NacosConfigConverterpublic abstract NacosProperties properties
NacosProperties attribute, If not specified, it will use global Nacos Properties.NacosPropertiesCopyright © 2018–2021 Alibaba Group. All rights reserved.