Class NoOpRateLimiter

java.lang.Object
org.apache.polaris.service.ratelimiter.NoOpRateLimiter
All Implemented Interfaces:
RateLimiter

@Identifier("no-op") @ApplicationScoped public class NoOpRateLimiter extends Object implements RateLimiter
Rate limiter that always allows the request
  • Constructor Details

    • NoOpRateLimiter

      public NoOpRateLimiter()
  • Method Details

    • canProceed

      public boolean canProceed()
      Description copied from interface: RateLimiter
      This signifies that a request is being made. That is, the rate limiter should count the request at this point.
      Specified by:
      canProceed in interface RateLimiter
      Returns:
      Whether the request is allowed to proceed by the rate limiter