Skip to content

Commit

Permalink
Improved javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
gregw committed Jun 3, 2022
1 parent 6234b3f commit 974637e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -1216,8 +1216,8 @@ public RateTracker(ServletContext context, String filterName, String id, RateTyp
}

/**
* @param now the time now (in nanoseconds)
* @return the current calculated request rate over the last second
* @param now the time now (in nanoseconds) used to calculate elapsed time since previous requests.
* @return the current calculated request rate over the last second if rate exceeded, else null.
*/
public OverLimit isRateExceeded(long now)
{
Expand Down

0 comments on commit 974637e

Please sign in to comment.