Class RxJava3TimerAspectExt

java.lang.Object
io.github.resilience4j.spring6.micrometer.configure.RxJava3TimerAspectExt
All Implemented Interfaces:
TimerAspectExt

public class RxJava3TimerAspectExt extends Object implements TimerAspectExt
  • Constructor Details

    • RxJava3TimerAspectExt

      public RxJava3TimerAspectExt()
  • Method Details

    • canHandleReturnType

      public boolean canHandleReturnType(Class<?> returnType)
      Specified by:
      canHandleReturnType in interface TimerAspectExt
      Parameters:
      returnType - the AOP method return type class
      Returns:
      boolean if the method has Rx java 3 rerun type
    • handle

      public Object handle(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint, io.github.resilience4j.micrometer.Timer timer, String methodName) throws Throwable
      Specified by:
      handle in interface TimerAspectExt
      Parameters:
      proceedingJoinPoint - Spring AOP proceedingJoinPoint
      timer - the configured timer
      methodName - the method name
      Returns:
      the result object
      Throws:
      Throwable - exception in case of faulty flow