Interface DoSHandler.Tracker
- All Superinterfaces:
 CyclicTimeouts.Expirable
- Enclosing class:
 DoSHandler
A RateTracker is associated with an id, and stores request rate data.
- 
Nested Class Summary
Nested Classes - 
Method Summary
Modifier and TypeMethodDescriptionbooleanonRequest(long now) Add a request to the tracker and check the rate limitMethods inherited from interface CyclicTimeouts.Expirable
getExpireNanoTime 
- 
Method Details
- 
onRequest
boolean onRequest(long now) Add a request to the tracker and check the rate limit- Parameters:
 now- The timestamp of the request- Returns:
 trueif the request is below the limit
 
 -