This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.0 by this push:
     new d93db7a  [3.0] router add getter method (#8139)
d93db7a is described below

commit d93db7aa388dac3fe2a4a1411c182fc2f49d6678
Author: ken.lj <[email protected]>
AuthorDate: Fri Jun 25 11:08:45 2021 +0800

    [3.0] router add getter method (#8139)
---
 .../src/main/java/org/apache/dubbo/rpc/cluster/RouterChain.java       | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/RouterChain.java 
b/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/RouterChain.java
index 23ae701..c37d63f 100644
--- a/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/RouterChain.java
+++ b/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/RouterChain.java
@@ -149,6 +149,10 @@ public class RouterChain<T> {
         return routers;
     }
 
+    public List<StateRouter> getStateRouters() {
+        return stateRouters;
+    }
+
     private void sort() {
         Collections.sort(routers);
     }

Reply via email to