Class AppenderVegasCfg
java.lang.Object
io.camunda.zeebe.logstreams.impl.backpressure.AppenderVegasCfg
- All Implemented Interfaces:
AlgorithmCfg,Supplier<com.netflix.concurrency.limits.limit.AbstractLimit>
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyEnvironment(Environment environment) com.netflix.concurrency.limits.limit.AbstractLimitget()doubledoubleintintsetAlphaLimit(double alphaLimit) setBetaLimit(double betaLimit) setInitialLimit(int initialLimit) setMaxConcurrency(int maxConcurrency) toString()
-
Constructor Details
-
AppenderVegasCfg
public AppenderVegasCfg()
-
-
Method Details
-
applyEnvironment
- Specified by:
applyEnvironmentin interfaceAlgorithmCfg
-
getInitialLimit
public int getInitialLimit() -
setInitialLimit
-
getMaxConcurrency
public int getMaxConcurrency() -
setMaxConcurrency
-
getAlphaLimit
public double getAlphaLimit() -
setAlphaLimit
-
getBetaLimit
public double getBetaLimit() -
setBetaLimit
-
get
public com.netflix.concurrency.limits.limit.AbstractLimit get() -
toString
-