Interface TransactionTrafficAlgorithm

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

public interface TransactionTrafficAlgorithm extends TrafficAlgorithm
Transaction traffic algorithm.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    match(TransactionTrafficValue transactionTrafficValue)
    Judge transaction 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(TransactionTrafficValue transactionTrafficValue)
      Judge transaction traffic value is match or not.
      Parameters:
      transactionTrafficValue - transaction traffic value
      Returns:
      transaction traffic value is match or not