Annotation Interface RateLimitingDecorator
@Repeatable(RateLimitingDecorators.class)
@Retention(RUNTIME)
@Target({TYPE,METHOD})
public @interface RateLimitingDecorator
A
ThrottlingService
decorator for annotated HTTP services.-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionThe name of the configuredThrottlingStrategy
.int
The order of decoration, where aDecorator
of lower value will be applied first.double
The number of requests per one second that the configuredThrottlingStrategy
accepts.
-
Element Details
-
value
double valueThe number of requests per one second that the configuredThrottlingStrategy
accepts.- Default:
1.7976931348623157E308
-
name
String nameThe name of the configuredThrottlingStrategy
.- Default:
"\n\t\t\n\t\t\n\u0000\u0001\u0002\n\t\t\t\t\n"
-
order
int orderThe order of decoration, where aDecorator
of lower value will be applied first.- Default:
0
-