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
      boolean match​(SegmentTrafficValue segmentTrafficValue)
      Judge segment traffic value is match or not.
      • Methods inherited from interface org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI

        getType, getTypeAliases, init, isDefault
    • 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