public final class UpstreamProvider
extends java.lang.Object
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createUpstreams(java.lang.String pluginSelectorName,
java.util.List<org.apache.shenyu.common.dto.DiscoveryUpstreamData> upstreams)
createUpstreams.
|
static UpstreamProvider |
getSingleton()
getSingleton.
|
java.util.List<org.apache.shenyu.common.dto.DiscoveryUpstreamData> |
provide(java.lang.String pluginSelectorName)
provide.
|
java.util.List<org.apache.shenyu.common.dto.DiscoveryUpstreamData> |
refreshCache(java.lang.String pluginSelectorName,
java.util.List<org.apache.shenyu.common.dto.DiscoveryUpstreamData> upstreams)
refreshCache.
|
public static UpstreamProvider getSingleton()
public java.util.List<org.apache.shenyu.common.dto.DiscoveryUpstreamData> provide(java.lang.String pluginSelectorName)
pluginSelectorName - pluginSelectorNamepublic void createUpstreams(java.lang.String pluginSelectorName,
java.util.List<org.apache.shenyu.common.dto.DiscoveryUpstreamData> upstreams)
pluginSelectorName - pluginSelectorNameupstreams - upstreamspublic java.util.List<org.apache.shenyu.common.dto.DiscoveryUpstreamData> refreshCache(java.lang.String pluginSelectorName,
java.util.List<org.apache.shenyu.common.dto.DiscoveryUpstreamData> upstreams)
pluginSelectorName - pluginSelectorNameupstreams - upstreamsCopyright © 2026 The Apache Software Foundation. All rights reserved.