Interface JobRateLimitAlgorithm

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

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

      • intercept

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