public class RxJava2BulkheadAspectExt extends java.lang.Object implements BulkheadAspectExt
| Constructor and Description |
|---|
RxJava2BulkheadAspectExt() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandleReturnType(java.lang.Class returnType) |
java.lang.Object |
handle(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint,
io.github.resilience4j.bulkhead.Bulkhead bulkhead,
java.lang.String methodName) |
public boolean canHandleReturnType(java.lang.Class returnType)
canHandleReturnType in interface BulkheadAspectExtreturnType - the AOP method return type classpublic java.lang.Object handle(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint,
io.github.resilience4j.bulkhead.Bulkhead bulkhead,
java.lang.String methodName)
throws java.lang.Throwable
handle in interface BulkheadAspectExtproceedingJoinPoint - Spring AOP proceedingJoinPointbulkhead - the configured bulkheadmethodName - the method namejava.lang.Throwable - exception in case of faulty flow