Interface JobRateLimitAlgorithm

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

public interface JobRateLimitAlgorithm extends org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
Job rate limit algorithm.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Intercept.

    Methods inherited from interface org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI

    getType, getTypeAliases, init, isDefault
  • Method Details

    • intercept

      void intercept(JobOperationType type, Number data)
      Intercept.
      Parameters:
      type - job operation type
      data - delta value for how much changed