java.lang.Object
com.erudika.para.core.utils.RateLimiter
A simple rate limiter implemented using the sliding window counter algorithm.
- Author:
- Alex Bogdanovski [[email protected]]
-
Method Summary
-
Method Details
-
isAllowed
Check if some action is allowed to be performed by a given user.- Parameters:
appid
- the appiduserId
- the user identifier- Returns:
- true if user is allowed to perform the action
-