Class TimeLimiterAspect

java.lang.Object
io.github.resilience4j.timelimiter.configure.TimeLimiterAspect
All Implemented Interfaces:
java.lang.AutoCloseable, org.springframework.core.Ordered

public class TimeLimiterAspect
extends java.lang.Object
implements org.springframework.core.Ordered, java.lang.AutoCloseable
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors 
    Constructor Description
    TimeLimiterAspect​(io.github.resilience4j.timelimiter.TimeLimiterRegistry timeLimiterRegistry, TimeLimiterConfigurationProperties properties, java.util.List<TimeLimiterAspectExt> timeLimiterAspectExtList, FallbackDecorators fallbackDecorators, SpelResolver spelResolver, io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor contextAwareScheduledThreadPoolExecutor)  
  • Method Summary

    Modifier and Type Method Description
    void close()  
    int getOrder()  
    void matchAnnotatedClassOrMethod​(io.github.resilience4j.timelimiter.annotation.TimeLimiter timeLimiter)  
    java.lang.Object timeLimiterAroundAdvice​(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint, io.github.resilience4j.timelimiter.annotation.TimeLimiter timeLimiterAnnotation)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • matchAnnotatedClassOrMethod

      public void matchAnnotatedClassOrMethod​(io.github.resilience4j.timelimiter.annotation.TimeLimiter timeLimiter)
    • timeLimiterAroundAdvice

      public java.lang.Object timeLimiterAroundAdvice​(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint, @Nullable io.github.resilience4j.timelimiter.annotation.TimeLimiter timeLimiterAnnotation) throws java.lang.Throwable
      Throws:
      java.lang.Throwable
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • close

      public void close() throws java.lang.Exception
      Specified by:
      close in interface java.lang.AutoCloseable
      Throws:
      java.lang.Exception