Class AppenderFlowControl
java.lang.Object
io.camunda.zeebe.logstreams.impl.flowcontrol.AppenderFlowControl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTries to acquire a free in-flight spot, applying backpressure as needed.
-
Constructor Details
-
AppenderFlowControl
-
-
Method Details
-
tryAcquire
Tries to acquire a free in-flight spot, applying backpressure as needed.- Returns:
- An Optional containing a
InFlightAppendif append was accepted, an empty Optional otherwise.
-