Class NoOpRateLimiter

    • Constructor Detail

      • NoOpRateLimiter

        public NoOpRateLimiter()
    • Method Detail

      • acquire

        public CompletionStage<Void> acquire()
        Description copied from interface: RateLimiter
        Returns a future that is completed once another event would not exceed the rate limit. For correct functioning, the next invocation of this method should only happen after the previously returned future has been completed.
        Specified by:
        acquire in interface RateLimiter