Package com.rale4j.sb.enforcement
Class RateLimitKeyGenerator
java.lang.Object
com.rale4j.sb.enforcement.RateLimitKeyGenerator
Generates unique keys for rate limiting based on the method and its arguments.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateKey
(org.aspectj.lang.ProceedingJoinPoint joinPoint) Generates a unique key for rate limiting.
-
Constructor Details
-
RateLimitKeyGenerator
public RateLimitKeyGenerator()
-
-
Method Details
-
generateKey
Generates a unique key for rate limiting.- Parameters:
joinPoint
- the join point representing the intercepted method- Returns:
- a unique key for rate limiting
-