Class StabilizingAIMDLimit.Builder
java.lang.Object
io.camunda.zeebe.logstreams.impl.flowcontrol.StabilizingAIMDLimit.Builder
- Enclosing class:
StabilizingAIMDLimit
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackoffRatio(double backoffRatio) When the limit has to be reduced, the new limit is calculated as current limit * backoffRatio.build()expectedRTT(long timeout, TimeUnit units) When observed RTT exceeds this value, the limit will be reduced.initialLimit(int initialLimit) maxLimit(int maxLimit) minLimit(int minLimit)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
initialLimit
-
minLimit
-
maxLimit
-
backoffRatio
When the limit has to be reduced, the new limit is calculated as current limit * backoffRatio. -
expectedRTT
When observed RTT exceeds this value, the limit will be reduced. -
build
-