All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.giffing.bucket4j.spring.boot.starter.context.Condition Maven / Gradle / Ivy

The newest version!
package com.giffing.bucket4j.spring.boot.starter.context;


/**
 * This condition is used to skip or execute a rate limit check.
 */
@FunctionalInterface
public interface Condition {
	
	/**
	 * 
	 * @param expressionParams parameters to evaluate the expression
	 * @return true if the rate limit check should be skipped
	 */
	boolean evaluate(ExpressionParams expressionParams);
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy