Annotation Type RateLimitingDecorator
@Repeatable(RateLimitingDecorators.class) @Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface RateLimitingDecorator
A
ThrottlingService
decorator for annotated HTTP services.-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
name
The name of the configuredThrottlingStrategy
.int
order
The order of decoration, where aDecorator
of lower value will be applied first.double
value
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
-