@Repeatable(value=RateLimitingDecorators.class) @Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) public @interface RateLimitingDecorator
ThrottlingService decorator for annotated HTTP services.| Modifier and Type | Optional Element and Description |
|---|---|
String |
name
The name of the configured
ThrottlingStrategy. |
int |
order
The order of decoration, where a
Decorator of lower value will be applied first. |
double |
value
The number of requests per one second that the configured
ThrottlingStrategy accepts. |
public abstract double value
ThrottlingStrategy accepts.public abstract String name
ThrottlingStrategy.public abstract int order
Decorator of lower value will be applied first.Copyright © 2020 LeanCloud. All rights reserved.