类 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
另请参阅:
  • 构造器详细资料

    • 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

      public String getWatcherUuid()
      Gets the UUID (Unique Identifier) of the listener.
      返回:
      The UUID of the listener.
    • getClientUuid

      public String getClientUuid()
    • getGroupKeyPattern

      public String getGroupKeyPattern()
    • getGroupKey

      public String getGroupKey()
    • getSyncType

      public String getSyncType()
    • getChangedType

      public String getChangedType()
      Gets the type of notification.
      返回:
      The type of notification.