com.netflix.astyanax.connectionpool
Interface RateLimiter
- All Known Implementing Classes:
- SimpleRateLimiterImpl
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
- Author:
- elandau
Method Summary |
boolean |
check()
|
boolean |
check(long currentTimeMillis)
|
check
boolean check()
check
boolean check(long currentTimeMillis)
Copyright © 2012. All Rights Reserved.