Class NoOpRateLimiter<Split extends SourceSplit>

    • Constructor Detail

      • NoOpRateLimiter

        public NoOpRateLimiter()
    • Method Detail

      • acquire

        public CompletionStage<Void> acquire​(int numberOfEvents)
        Description copied from interface: RateLimiter
        Returns a future that is completed once other events 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<Split extends SourceSplit>
        Parameters:
        numberOfEvents - The number of events.