public class NullRateLimiter extends Object implements RateLimiter
Modifier and Type | Field and Description |
---|---|
static NullRateLimiter |
INSTANCE |
public static final NullRateLimiter INSTANCE
public long getRate()
RateLimiter
getRate
in interface RateLimiter
public void acquire(long permits)
RateLimiter
acquire
in interface RateLimiter
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.