|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RateLimiter
Very very simple interface for a rate limiter. The basic idea is that clients will call check() to determine if an operation may be performed. The concrete rate limiter will update its internal state for each call to check
| Method Summary | |
|---|---|
boolean |
check()
|
boolean |
check(long currentTimeMillis)
|
| Method Detail |
|---|
boolean check()
boolean check(long currentTimeMillis)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||