public class CommonPluginDataSubscriber
extends java.lang.Object
implements org.apache.shenyu.sync.data.api.PluginDataSubscriber
| 构造器和说明 |
|---|
CommonPluginDataSubscriber(java.util.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.
|
CommonPluginDataSubscriber(java.util.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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onRuleSubscribe(org.apache.shenyu.common.dto.RuleData ruleData) |
void |
onSelectorSubscribe(org.apache.shenyu.common.dto.SelectorData selectorData) |
void |
onSubscribe(org.apache.shenyu.common.dto.PluginData pluginData) |
void |
putExtendPluginDataHandler(java.util.List<PluginDataHandler> handlers)
Put extend plugin data handler.
|
void |
refreshPluginDataAll() |
void |
refreshPluginDataSelf(java.util.List<org.apache.shenyu.common.dto.PluginData> pluginDataList) |
void |
refreshRuleDataAll() |
void |
refreshRuleDataSelf(java.util.List<org.apache.shenyu.common.dto.RuleData> ruleDataList) |
void |
refreshSelectorDataAll() |
void |
refreshSelectorDataSelf(java.util.List<org.apache.shenyu.common.dto.SelectorData> selectorDataList) |
void |
unRuleSubscribe(org.apache.shenyu.common.dto.RuleData ruleData) |
void |
unSelectorSubscribe(org.apache.shenyu.common.dto.SelectorData selectorData) |
void |
unSubscribe(org.apache.shenyu.common.dto.PluginData pluginData) |
public CommonPluginDataSubscriber(java.util.List<PluginDataHandler> pluginDataHandlerList, org.apache.shenyu.common.config.ShenyuConfig.SelectorMatchCache selectorMatchConfig, org.apache.shenyu.common.config.ShenyuConfig.RuleMatchCache ruleMatchCacheConfig)
pluginDataHandlerList - the plugin data handler listselectorMatchConfig - shenyu selector cache configruleMatchCacheConfig - shenyu rule cache configpublic CommonPluginDataSubscriber(java.util.List<PluginDataHandler> pluginDataHandlerList, org.springframework.context.ApplicationEventPublisher eventPublisher, org.apache.shenyu.common.config.ShenyuConfig.SelectorMatchCache selectorMatchConfig, org.apache.shenyu.common.config.ShenyuConfig.RuleMatchCache ruleMatchCacheConfig)
pluginDataHandlerList - the plugin data handler listeventPublisher - eventPublisher is used to publish sort plugin eventselectorMatchConfig - shenyu trie configruleMatchCacheConfig - shenyu trie configpublic void putExtendPluginDataHandler(java.util.List<PluginDataHandler> handlers)
handlers - the handlerspublic void onSubscribe(org.apache.shenyu.common.dto.PluginData pluginData)
onSubscribe 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriberpublic void unSubscribe(org.apache.shenyu.common.dto.PluginData pluginData)
unSubscribe 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriberpublic void refreshPluginDataAll()
refreshPluginDataAll 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriberpublic void refreshPluginDataSelf(java.util.List<org.apache.shenyu.common.dto.PluginData> pluginDataList)
refreshPluginDataSelf 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriberpublic void onSelectorSubscribe(org.apache.shenyu.common.dto.SelectorData selectorData)
onSelectorSubscribe 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriberpublic void unSelectorSubscribe(org.apache.shenyu.common.dto.SelectorData selectorData)
unSelectorSubscribe 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriberpublic void refreshSelectorDataAll()
refreshSelectorDataAll 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriberpublic void refreshSelectorDataSelf(java.util.List<org.apache.shenyu.common.dto.SelectorData> selectorDataList)
refreshSelectorDataSelf 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriberpublic void onRuleSubscribe(org.apache.shenyu.common.dto.RuleData ruleData)
onRuleSubscribe 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriberpublic void unRuleSubscribe(org.apache.shenyu.common.dto.RuleData ruleData)
unRuleSubscribe 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriberpublic void refreshRuleDataAll()
refreshRuleDataAll 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriberpublic void refreshRuleDataSelf(java.util.List<org.apache.shenyu.common.dto.RuleData> ruleDataList)
refreshRuleDataSelf 在接口中 org.apache.shenyu.sync.data.api.PluginDataSubscriberCopyright © 2026 The Apache Software Foundation. All rights reserved.