Class AppenderVegasCfg

java.lang.Object
io.camunda.zeebe.logstreams.impl.backpressure.AppenderVegasCfg
All Implemented Interfaces:
AlgorithmCfg, Supplier<com.netflix.concurrency.limits.limit.AbstractLimit>

public final class AppenderVegasCfg extends Object implements AlgorithmCfg
This class should be later be located in the broker configs - due to the primitive usage currently we are not able to access the BrokerCfg, this is the reason why the configuration is only based on environment variables.
  • Constructor Details

    • AppenderVegasCfg

      public AppenderVegasCfg()
  • Method Details

    • applyEnvironment

      public void applyEnvironment(Environment environment)
      Specified by:
      applyEnvironment in interface AlgorithmCfg
    • getInitialLimit

      public int getInitialLimit()
    • setInitialLimit

      public AppenderVegasCfg setInitialLimit(int initialLimit)
    • getMaxConcurrency

      public int getMaxConcurrency()
    • setMaxConcurrency

      public AppenderVegasCfg setMaxConcurrency(int maxConcurrency)
    • getAlphaLimit

      public double getAlphaLimit()
    • setAlphaLimit

      public AppenderVegasCfg setAlphaLimit(double alphaLimit)
    • getBetaLimit

      public double getBetaLimit()
    • setBetaLimit

      public AppenderVegasCfg setBetaLimit(double betaLimit)
    • get

      public com.netflix.concurrency.limits.limit.AbstractLimit get()
      Specified by:
      get in interface Supplier<com.netflix.concurrency.limits.limit.AbstractLimit>
    • toString

      public String toString()
      Overrides:
      toString in class Object