cn.yueshutong.springbootstartercurrentlimiting.handler.CurrentAspectHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-boot-starter-current-limiting Show documentation
Show all versions of spring-boot-starter-current-limiting Show documentation
Current limiting tool based on leak bucket algorithm and token bucket algorithm.
package cn.yueshutong.springbootstartercurrentlimiting.handler;
import cn.yueshutong.springbootstartercurrentlimiting.annotation.CurrentLimiter;
import org.aspectj.lang.ProceedingJoinPoint;
/**
* Create by [email protected]
*/
public interface CurrentAspectHandler {
/**
* CurrentLimiter注解拦截后的反馈
*/
Object around(ProceedingJoinPoint pjp, CurrentLimiter rateLimiter)throws Throwable;
}