Package io.quarkus.load.shedding.runtime
Interface LoadSheddingRuntimeConfig
@ConfigMapping(prefix="quarkus.load-shedding")
@ConfigRoot(phase=RUN_TIME)
public interface LoadSheddingRuntimeConfig
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionintThealphafactor of the Vegas overload detection algorithm.intThebetafactor of the Vegas overload detection algorithm.booleanenabled()Whether load shedding should be enabled.intThe initial limit of concurrent requests allowed.intmaxLimit()The maximum number of concurrent requests allowed.priority()Configuration of priority load shedding.doubleThe probe factor of the Vegas overload detection algorithm.
-
Method Details
-
enabled
@WithDefault("true") boolean enabled()Whether load shedding should be enabled. Currently, this only applies to incoming HTTP requests. -
maxLimit
@WithDefault("1000") int maxLimit()The maximum number of concurrent requests allowed. -
alphaFactor
@WithDefault("3") int alphaFactor()Thealphafactor of the Vegas overload detection algorithm. -
betaFactor
@WithDefault("6") int betaFactor()Thebetafactor of the Vegas overload detection algorithm. -
probeFactor
@WithDefault("30.0") double probeFactor()The probe factor of the Vegas overload detection algorithm. -
initialLimit
@WithDefault("100") int initialLimit()The initial limit of concurrent requests allowed. -
priority
Configuration of priority load shedding.
-