@Internal public class NoOpRateLimiter extends Object implements RateLimiter
RateLimiter
that does not throttle requests.Constructor and Description |
---|
NoOpRateLimiter() |
Modifier and Type | Method and Description |
---|---|
CompletionStage<Void> |
acquire()
Returns a future that is completed once another event would not exceed the rate limit.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
notifyCheckpointComplete
public CompletionStage<Void> acquire()
RateLimiter
acquire
in interface RateLimiter
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.