类 ConfigFuzzyWatchNotifyEvent
java.lang.Object
com.alibaba.nacos.common.notify.Event
com.alibaba.nacos.client.config.impl.ConfigFuzzyWatchNotifyEvent
- 所有已实现的接口:
Serializable
public class ConfigFuzzyWatchNotifyEvent
extends com.alibaba.nacos.common.notify.Event
Event class for fuzzy listen notifications.
This class represents an event used for notifying fuzzy listen changes. It extends Event, indicating
that it may be processed asynchronously. The event contains information about the group, dataId, type, and UUID of
the notification.
- 作者:
- stone-98
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static ConfigFuzzyWatchNotifyEventbuildEvent(String groupKey, String groupKeyPattern, String changedType, String syncType, String clientUuid) Builds a new FuzzyListenNotifyEvent with the specified group, dataId, and type.static ConfigFuzzyWatchNotifyEventbuildEvent(String groupKey, String groupKeyPattern, String changedType, String syncType, String clientUuid, String watcherUuid) Builds a new FuzzyListenNotifyEvent with the specified group, dataId, and type.Gets the type of notification.Gets the UUID (Unique Identifier) of the listener.从类继承的方法 com.alibaba.nacos.common.notify.Event
isPluginEvent, scope, sequence
-
构造器详细资料
-
ConfigFuzzyWatchNotifyEvent
public ConfigFuzzyWatchNotifyEvent()Constructs a new FuzzyListenNotifyEvent.
-
-
方法详细资料
-
buildEvent
public static ConfigFuzzyWatchNotifyEvent buildEvent(String groupKey, String groupKeyPattern, String changedType, String syncType, String clientUuid) Builds a new FuzzyListenNotifyEvent with the specified group, dataId, and type.- 参数:
groupKey- The groupKey of the configuration.- 返回:
- A new FuzzyListenNotifyEvent instance.
-
buildEvent
public static ConfigFuzzyWatchNotifyEvent buildEvent(String groupKey, String groupKeyPattern, String changedType, String syncType, String clientUuid, String watcherUuid) Builds a new FuzzyListenNotifyEvent with the specified group, dataId, and type.- 参数:
groupKey- The groupKey of the configuration.- 返回:
- A new FuzzyListenNotifyEvent instance.
-
getWatcherUuid
Gets the UUID (Unique Identifier) of the listener.- 返回:
- The UUID of the listener.
-
getClientUuid
-
getGroupKeyPattern
-
getGroupKey
-
getSyncType
-
getChangedType
Gets the type of notification.- 返回:
- The type of notification.
-