类 CommonPluginDataSubscriber

java.lang.Object
org.apache.shenyu.plugin.base.cache.CommonPluginDataSubscriber
所有已实现的接口:
org.apache.shenyu.sync.data.api.PluginDataSubscriber

public class CommonPluginDataSubscriber extends Object implements org.apache.shenyu.sync.data.api.PluginDataSubscriber
The type Common plugin data subscriber.
  • 构造器详细资料

    • CommonPluginDataSubscriber

      public CommonPluginDataSubscriber(List<PluginDataHandler> pluginDataHandlerList, org.apache.shenyu.common.config.ShenyuConfig.SelectorMatchCache selectorMatchConfig, org.apache.shenyu.common.config.ShenyuConfig.RuleMatchCache ruleMatchCacheConfig)
      Instantiates a new Common plugin data subscriber.
      参数:
      pluginDataHandlerList - the plugin data handler list
      selectorMatchConfig - shenyu selector cache config
      ruleMatchCacheConfig - shenyu rule cache config
    • CommonPluginDataSubscriber

      public CommonPluginDataSubscriber(List<PluginDataHandler> pluginDataHandlerList, org.springframework.context.ApplicationEventPublisher eventPublisher, org.apache.shenyu.common.config.ShenyuConfig.SelectorMatchCache selectorMatchConfig, org.apache.shenyu.common.config.ShenyuConfig.RuleMatchCache ruleMatchCacheConfig)
      Instantiates a new Common plugin data subscriber.
      参数:
      pluginDataHandlerList - the plugin data handler list
      eventPublisher - eventPublisher is used to publish sort plugin event
      selectorMatchConfig - shenyu trie config
      ruleMatchCacheConfig - shenyu trie config
  • 方法详细资料

    • putExtendPluginDataHandler

      public void putExtendPluginDataHandler(List<PluginDataHandler> handlers)
      Put extend plugin data handler.
      参数:
      handlers - the handlers
    • onSubscribe

      public void onSubscribe(org.apache.shenyu.common.dto.PluginData pluginData)
      指定者:
      onSubscribe 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriber
    • unSubscribe

      public void unSubscribe(org.apache.shenyu.common.dto.PluginData pluginData)
      指定者:
      unSubscribe 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriber
    • refreshPluginDataAll

      public void refreshPluginDataAll()
      指定者:
      refreshPluginDataAll 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriber
    • refreshPluginDataSelf

      public void refreshPluginDataSelf(List<org.apache.shenyu.common.dto.PluginData> pluginDataList)
      指定者:
      refreshPluginDataSelf 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriber
    • onSelectorSubscribe

      public void onSelectorSubscribe(org.apache.shenyu.common.dto.SelectorData selectorData)
      指定者:
      onSelectorSubscribe 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriber
    • unSelectorSubscribe

      public void unSelectorSubscribe(org.apache.shenyu.common.dto.SelectorData selectorData)
      指定者:
      unSelectorSubscribe 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriber
    • refreshSelectorDataAll

      public void refreshSelectorDataAll()
      指定者:
      refreshSelectorDataAll 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriber
    • refreshSelectorDataSelf

      public void refreshSelectorDataSelf(List<org.apache.shenyu.common.dto.SelectorData> selectorDataList)
      指定者:
      refreshSelectorDataSelf 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriber
    • onRuleSubscribe

      public void onRuleSubscribe(org.apache.shenyu.common.dto.RuleData ruleData)
      指定者:
      onRuleSubscribe 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriber
    • unRuleSubscribe

      public void unRuleSubscribe(org.apache.shenyu.common.dto.RuleData ruleData)
      指定者:
      unRuleSubscribe 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriber
    • refreshRuleDataAll

      public void refreshRuleDataAll()
      指定者:
      refreshRuleDataAll 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriber
    • refreshRuleDataSelf

      public void refreshRuleDataSelf(List<org.apache.shenyu.common.dto.RuleData> ruleDataList)
      指定者:
      refreshRuleDataSelf 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriber