类 ConfigFuzzyWatchSyncRequest

所有已实现的接口:
Payload

public class ConfigFuzzyWatchSyncRequest extends AbstractFuzzyWatchNotifyRequest
Represents a request to notify the difference between client and server side.

This request is used to notify clients about the difference in configurations that match fuzzy listening patterns.

作者:
stone-98
  • 构造器详细资料

    • ConfigFuzzyWatchSyncRequest

      public ConfigFuzzyWatchSyncRequest()
      Constructs an empty FuzzyListenNotifyDiffRequest.
  • 方法详细资料

    • getSyncType

      public String getSyncType()
    • setSyncType

      public void setSyncType(String syncType)
    • getTotalBatch

      public int getTotalBatch()
    • setTotalBatch

      public void setTotalBatch(int totalBatch)
    • getCurrentBatch

      public int getCurrentBatch()
    • setCurrentBatch

      public void setCurrentBatch(int currentBatch)
    • buildSyncRequest

      public static ConfigFuzzyWatchSyncRequest buildSyncRequest(String syncType, Set<ConfigFuzzyWatchSyncRequest.Context> contexts, String groupKeyPattern, int totalBatch, int currentBatch)
      Builds an initial FuzzyListenNotifyDiffRequest with the specified set of contexts and group key pattern.
      参数:
      contexts - The set of contexts containing information about the configurations
      groupKeyPattern - The pattern used to match group keys for the configurations
      返回:
      An initial FuzzyListenNotifyDiffRequest
    • buildInitFinishRequest

      public static ConfigFuzzyWatchSyncRequest buildInitFinishRequest(String groupKeyPattern)
      Builds fuzzy watch init finish request.
      参数:
      groupKeyPattern - The pattern used to match group keys for the configurations
      返回:
      A final FuzzyListenNotifyDiffRequest
    • getGroupKeyPattern

      public String getGroupKeyPattern()
    • setGroupKeyPattern

      public void setGroupKeyPattern(String groupKeyPattern)
    • getContexts

    • setContexts

      public void setContexts(Set<ConfigFuzzyWatchSyncRequest.Context> contexts)