Interface HintTrafficAlgorithm

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

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

    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 Details

    • 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