Annotation Interface RateLimited
An annotation indicating that access to this REST resource should be rate limited. Rate limiting applies per node
 and per user. Anonymous users are rate limited separately.
- Since:
- 9.2.6
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumType of the requests that have to be rate limited
- 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescriptiondoublePermits per second.System property custom name, which is used to override the rate limit value.Identifies which requests should be rate limited
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringPrefix for the default name of the system property, that may be used to override the rate limit value.
- 
Field Details- 
PROPERTY_NAME_PREFIXPrefix for the default name of the system property, that may be used to override the rate limit value. Default name format isPROPERTY_NAME_PREFIX + "." + classNameLowerCase + "." + methodNameLowerCase - See Also:
 
 
- 
- 
Element Details- 
propertyNameString propertyNameSystem property custom name, which is used to override the rate limit value. If not specified, default property name is used (pls seePROPERTY_NAME_PREFIXfor more details)- Returns:
- system property custom name, which is used to override the rate limit.
 - Default:
- ""
 
- 
permitsPerSeconddouble permitsPerSecondPermits per second. Any value invalid input: '<'= 0 is treated as "no limits"- Returns:
- permits per second
 - Default:
- 0.0
 
- 
typeRateLimited.Type typeIdentifies which requests should be rate limited- Returns:
- type of the requests which have to be rate limited
 - Default:
- ALL
 
 
-