Class AppenderFlowControl

java.lang.Object
io.camunda.zeebe.logstreams.impl.flowcontrol.AppenderFlowControl

public final class AppenderFlowControl extends Object
  • Constructor Details

  • Method Details

    • tryAcquire

      public Optional<InFlightAppend> tryAcquire()
      Tries to acquire a free in-flight spot, applying backpressure as needed.
      Returns:
      An Optional containing a InFlightAppend if append was accepted, an empty Optional otherwise.