public class AppScriptStateRouter<T> extends AbstractStateRouter<T> implements org.apache.dubbo.common.config.configcenter.ConfigurationListener
| Constructor and Description |
|---|
AppScriptStateRouter(org.apache.dubbo.common.URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
notify(BitList<Invoker<T>> invokers)
Notify the router the invoker list.
|
void |
process(org.apache.dubbo.common.config.configcenter.ConfigChangedEvent event) |
void |
setScriptRule(ScriptRule scriptRule) |
void |
stop() |
buildSnapshot, getNextRouter, getRuleRepository, getUrl, isForce, isRuntime, route, setForce, setNextRouter, setUrlpublic AppScriptStateRouter(org.apache.dubbo.common.URL url)
public void process(org.apache.dubbo.common.config.configcenter.ConfigChangedEvent event)
process in interface org.apache.dubbo.common.config.configcenter.ConfigurationListenerpublic void notify(BitList<Invoker<T>> invokers)
StateRouterStateRouter.route(BitList, URL, Invocation, boolean, Holder) gets called.
No need to notify next node.notify in interface StateRouter<T>notify in class AbstractStateRouter<T>invokers - invoker listpublic void stop()
stop in interface StateRouter<T>public void setScriptRule(ScriptRule scriptRule)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.