@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
@Documented
public @interface RateLimiter
RateLimiter for details. If using Spring,
fallbackMethod can be resolved using Spring Expression Language (SpEL).| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
name
Name of the rate limiter
|
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
fallbackMethod
fallbackMethod method name.
|