public class RxJava2RateLimiterAspectExt extends java.lang.Object implements RateLimiterAspectExt
| Constructor and Description |
|---|
RxJava2RateLimiterAspectExt() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandleReturnType(java.lang.Class returnType) |
java.lang.Object |
handle(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint,
io.github.resilience4j.ratelimiter.RateLimiter rateLimiter,
java.lang.String methodName) |
public boolean canHandleReturnType(java.lang.Class returnType)
canHandleReturnType in interface RateLimiterAspectExtreturnType - the AOP method return type classpublic java.lang.Object handle(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint,
io.github.resilience4j.ratelimiter.RateLimiter rateLimiter,
java.lang.String methodName)
throws java.lang.Throwable
handle in interface RateLimiterAspectExtproceedingJoinPoint - Spring AOP proceedingJoinPointrateLimiter - the configured rateLimitermethodName - the method namejava.lang.Throwable - exception in case of faulty flow