You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by tu...@apache.org on 2022/05/07 07:29:53 UTC

[shardingsphere] branch master updated: Add TrafficAlgorithm interface for SimplifiedTrafficAlgorithm (#17414)

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

tuichenchuxin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 4e592198b9c Add TrafficAlgorithm interface for SimplifiedTrafficAlgorithm (#17414)
4e592198b9c is described below

commit 4e592198b9cadf15f7254c9065d813f4e0f7bb3d
Author: Zhengqiang Duan <du...@apache.org>
AuthorDate: Sat May 7 15:29:42 2022 +0800

    Add TrafficAlgorithm interface for SimplifiedTrafficAlgorithm (#17414)
---
 .../traffic/api/traffic/identifier/SimplifiedTrafficAlgorithm.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/shardingsphere-kernel/shardingsphere-traffic/shardingsphere-traffic-api/src/main/java/org/apache/shardingsphere/traffic/api/traffic/identifier/SimplifiedTrafficAlgorithm.java b/shardingsphere-kernel/shardingsphere-traffic/shardingsphere-traffic-api/src/main/java/org/apache/shardingsphere/traffic/api/traffic/identifier/SimplifiedTrafficAlgorithm.java
index ac7d0cba379..91f4db7e9ba 100644
--- a/shardingsphere-kernel/shardingsphere-traffic/shardingsphere-traffic-api/src/main/java/org/apache/shardingsphere/traffic/api/traffic/identifier/SimplifiedTrafficAlgorithm.java
+++ b/shardingsphere-kernel/shardingsphere-traffic/shardingsphere-traffic-api/src/main/java/org/apache/shardingsphere/traffic/api/traffic/identifier/SimplifiedTrafficAlgorithm.java
@@ -17,8 +17,10 @@
 
 package org.apache.shardingsphere.traffic.api.traffic.identifier;
 
+import org.apache.shardingsphere.traffic.spi.TrafficAlgorithm;
+
 /**
  * Simplified traffic algorithm.
  */
-public interface SimplifiedTrafficAlgorithm {
+public interface SimplifiedTrafficAlgorithm extends TrafficAlgorithm {
 }