Package com.rale4j.sb.enforcement
Class RateLimitAspect
java.lang.Object
com.rale4j.sb.enforcement.RateLimitAspect
Aspect for enforcing rate limits on methods annotated with
Rale4j
.-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionenforceRateLimit
(org.aspectj.lang.ProceedingJoinPoint joinPoint, Rale4j rale4j) Intercepts method calls annotated withRale4j
and enforces rate limits.
-
Field Details
-
rateLimitFactory
-
keyGenerator
-
-
Constructor Details
-
RateLimitAspect
public RateLimitAspect()
-
-
Method Details