Class RateLimitProperties.Guava

java.lang.Object
com.rale4j.sb.config.RateLimitProperties.Guava
Enclosing class:
RateLimitProperties

public static class RateLimitProperties.Guava extends Object
Configuration for the Guava rate limiting strategy.
  • Constructor Details

    • Guava

      public Guava()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Checks if the Guava rate limiting strategy is enabled.
      Returns:
      true if enabled, false otherwise
    • setEnabled

      public void setEnabled(boolean enabled)
      Sets the Guava rate limiting strategy enabled state.
      Parameters:
      enabled - the enabled state