Annotation Interface EnableLimiter


启用限流降级
Since:
Java 17+
Version:
6.5.0
Author:
Kimi Liu
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    默认有三种组件
    org.springframework.context.annotation.AdviceMode
    代理模型
    int
     
    boolean
     
  • Element Details

    • proxyTargetClass

      boolean proxyTargetClass
      Default:
      false
    • order

      int order
      Default:
      2147483647
    • annotationParser

      String[] annotationParser
      默认有三种组件
      Returns:
      the array
      Default:
      {"LockAnnotationParser", "RateLimiterAnnotationParser", "PeakLimiterAnnotationParser"}
    • mode

      org.springframework.context.annotation.AdviceMode mode
      代理模型
      Returns:
      the object
      Default:
      PROXY