类 ConfigFuzzyWatchChangeEvent
java.lang.Object
com.alibaba.nacos.api.config.listener.ConfigFuzzyWatchChangeEvent
Represents a fuzzy listening configuration change event.
This event indicates that a change has occurred in a configuration that matches a fuzzy listening pattern.
- 作者:
- stone-98
-
字段概要
字段修饰符和类型字段说明private StringThe change type of local watcher , contains {"ADD_CONFIG", "DELETE_CONFIG"}.private StringThe data ID of the configuration that has changed.private StringThe group of the configuration that has changed.private StringThe namespace of the configuration that has changed.private Stringthe sync type that trigger this changed,contains {"FUZZY_WATCH_INIT_NOTIFY","FUZZY_WATCH_RESOURCE_CHANGED", "FUZZY_WATCH_DIFF_SYNC_NOTIFY"}. -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static ConfigFuzzyWatchChangeEventConstructs and returns a new FuzzyListenConfigChangeEvent with the specified parameters.getGroup()toString()
-
字段详细资料
-
group
The group of the configuration that has changed. -
dataId
The data ID of the configuration that has changed. -
namespace
The namespace of the configuration that has changed. -
changedType
The change type of local watcher , contains {"ADD_CONFIG", "DELETE_CONFIG"}.Constants.ConfigChangedType. -
syncType
the sync type that trigger this changed,contains {"FUZZY_WATCH_INIT_NOTIFY","FUZZY_WATCH_RESOURCE_CHANGED", "FUZZY_WATCH_DIFF_SYNC_NOTIFY"}.
-
-
构造器详细资料
-
ConfigFuzzyWatchChangeEvent
private ConfigFuzzyWatchChangeEvent(String namespace, String group, String dataId, String changedType, String syncType) Constructs a FuzzyListenConfigChangeEvent with the specified parameters.- 参数:
group- The group of the configuration that has changeddataId- The data ID of the configuration that has changedchangedType- The type of change that has occurred
-
-
方法详细资料
-
build
public static ConfigFuzzyWatchChangeEvent build(String namespace, String group, String dataId, String changedType, String syncType) Constructs and returns a new FuzzyListenConfigChangeEvent with the specified parameters.- 参数:
group- The group of the configuration that has changeddataId- The data ID of the configuration that has changedchangedType- The type of change that has occurred- 返回:
- A new FuzzyListenConfigChangeEvent instance
-
getNamespace
-
getGroup
-
getDataId
-
getChangedType
-
getSyncType
-
toString
-