public class XdsRouter<T> extends org.apache.dubbo.rpc.cluster.router.state.AbstractStateRouter<T> implements XdsRouteRuleListener, EdsEndpointListener
| 构造器和说明 |
|---|
XdsRouter(org.apache.dubbo.common.URL url) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clearRule(String appName) |
void |
notify(org.apache.dubbo.rpc.cluster.router.state.BitList<org.apache.dubbo.rpc.Invoker<T>> invokers) |
void |
onEndPointChange(String cluster,
Set<Endpoint> endpoints) |
void |
onRuleChange(String appName,
List<XdsRouteRule> xdsRouteRules) |
void |
stop() |
public void notify(org.apache.dubbo.rpc.cluster.router.state.BitList<org.apache.dubbo.rpc.Invoker<T>> invokers)
public void onRuleChange(String appName, List<XdsRouteRule> xdsRouteRules)
onRuleChange 在接口中 XdsRouteRuleListenerpublic void clearRule(String appName)
clearRule 在接口中 XdsRouteRuleListenerpublic void onEndPointChange(String cluster, Set<Endpoint> endpoints)
onEndPointChange 在接口中 EdsEndpointListenerpublic void stop()
stop 在接口中 org.apache.dubbo.rpc.cluster.router.state.StateRouter<T>Copyright © 2024 The Apache Software Foundation. All rights reserved.