Interface TransactionTrafficAlgorithm

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

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

      All Methods Instance Methods Abstract Methods 
      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 Detail

      • 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