waitForLimit
If rate limit in effect, sleep long enough to allow next request.
Return
true if waiting did not clear isLimitReached() (can only happen if the clock is broken), or the wait has been interrupted by Thread.interrupt() false if we were below the limit or slept long enough to drop out of it.
Sources
jvm source
Link copied to clipboard