类 ConfigFuzzyWatchChangeEvent

java.lang.Object
com.alibaba.nacos.api.config.listener.ConfigFuzzyWatchChangeEvent

public class ConfigFuzzyWatchChangeEvent extends Object
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
  • 字段详细资料

    • group

      private String group
      The group of the configuration that has changed.
    • dataId

      private String dataId
      The data ID of the configuration that has changed.
    • namespace

      private String namespace
      The namespace of the configuration that has changed.
    • changedType

      private String changedType
      The change type of local watcher , contains {"ADD_CONFIG", "DELETE_CONFIG"}. Constants.ConfigChangedType.
    • syncType

      private String 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 changed
      dataId - The data ID of the configuration that has changed
      changedType - 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 changed
      dataId - The data ID of the configuration that has changed
      changedType - The type of change that has occurred
      返回:
      A new FuzzyListenConfigChangeEvent instance
    • getNamespace

      public String getNamespace()
    • getGroup

      public String getGroup()
    • getDataId

      public String getDataId()
    • getChangedType

      public String getChangedType()
    • getSyncType

      public String getSyncType()
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object