public class RxJava2TimeLimiterAspectExt extends java.lang.Object implements TimeLimiterAspectExt
| Constructor and Description |
|---|
RxJava2TimeLimiterAspectExt() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandleReturnType(java.lang.Class<?> returnType) |
java.lang.Object |
handle(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint,
io.github.resilience4j.timelimiter.TimeLimiter timeLimiter,
java.lang.String methodName) |
public boolean canHandleReturnType(java.lang.Class<?> returnType)
canHandleReturnType in interface TimeLimiterAspectExtreturnType - the AOP method return type classpublic java.lang.Object handle(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint,
io.github.resilience4j.timelimiter.TimeLimiter timeLimiter,
java.lang.String methodName)
throws java.lang.Throwable
handle in interface TimeLimiterAspectExtproceedingJoinPoint - Spring AOP proceedingJoinPointtimeLimiter - the configured timeLimitermethodName - the method namejava.lang.Throwable - exception in case of faulty flow