Package org.apache.zookeeper.server.util
Class RateLimiter
- java.lang.Object
-
- org.apache.zookeeper.server.util.RateLimiter
-
public class RateLimiter extends Object
A class that provides simple interval-based rate limiting implementation.
-
-
Constructor Summary
Constructors Constructor Description RateLimiter(int rate, long interval, TimeUnit unit)
-
-
-
Constructor Detail
-
RateLimiter
public RateLimiter(int rate, long interval, TimeUnit unit)
-
-