Class ProviderAppStateRouter<T>
java.lang.Object
org.apache.dubbo.rpc.cluster.router.state.AbstractStateRouter<T>
org.apache.dubbo.rpc.cluster.router.condition.config.ListenableStateRouter<T>
org.apache.dubbo.rpc.cluster.router.condition.config.ProviderAppStateRouter<T>
- All Implemented Interfaces:
EventListener,org.apache.dubbo.common.config.configcenter.ConfigurationListener,StateRouter<T>
Application level router, "application.condition-router"
-
Field Summary
FieldsFields inherited from class org.apache.dubbo.rpc.cluster.router.condition.config.ListenableStateRouter
RULE_SUFFIX -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.dubbo.rpc.cluster.router.condition.config.ListenableStateRouter
doRoute, isForce, process, stopMethods inherited from class org.apache.dubbo.rpc.cluster.router.state.AbstractStateRouter
buildSnapshot, getNextRouter, getRuleRepository, getUrl, isRuntime, route, setForce, setNextRouter, setUrl
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
ProviderAppStateRouter
public ProviderAppStateRouter(org.apache.dubbo.common.URL url)
-
-
Method Details
-
notify
Description copied from interface:StateRouterNotify the router the invoker list. Invoker list may change from time to time. This method gives the router a chance to prepare beforeStateRouter.route(BitList, URL, Invocation, boolean, Holder)gets called. No need to notify next node.- Specified by:
notifyin interfaceStateRouter<T>- Overrides:
notifyin classAbstractStateRouter<T>- Parameters:
invokers- invoker list
-