Interface SegmentTrafficAlgorithm
-
- All Superinterfaces:
org.apache.shardingsphere.infra.util.spi.type.typed.algorithm.ShardingSphereAlgorithm,TrafficAlgorithm,org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
public interface SegmentTrafficAlgorithm extends TrafficAlgorithm
Segment traffic algorithm.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmatch(SegmentTrafficValue segmentTrafficValue)Judge segment traffic value is match or not.
-
-
-
Method Detail
-
match
boolean match(SegmentTrafficValue segmentTrafficValue)
Judge segment traffic value is match or not.- Parameters:
segmentTrafficValue- segment traffic value- Returns:
- segment traffic value is match or not
-
-