Interface HintTrafficAlgorithm

  • All Superinterfaces:
    org.apache.shardingsphere.infra.util.spi.type.typed.algorithm.ShardingSphereAlgorithm, TrafficAlgorithm, org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI

    public interface HintTrafficAlgorithm
    extends TrafficAlgorithm
    Hint traffic algorithm.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean match​(HintTrafficValue hintTrafficValue)
      Judge hint 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​(HintTrafficValue hintTrafficValue)
        Judge hint traffic value is match or not.
        Parameters:
        hintTrafficValue - hint traffic value
        Returns:
        hint traffic value is match or not