Class DefaultCongestionControlSupplier

java.lang.Object
io.aeron.driver.DefaultCongestionControlSupplier
All Implemented Interfaces:
CongestionControlSupplier

public class DefaultCongestionControlSupplier extends Object implements CongestionControlSupplier
Supplier of congestion control algorithms which is aware of channel URI params otherwise defaults to StaticWindowCongestionControl.
  • Constructor Details

    • DefaultCongestionControlSupplier

      public DefaultCongestionControlSupplier()
  • Method Details

    • newInstance

      public CongestionControl newInstance(long registrationId, UdpChannel udpChannel, int streamId, int sessionId, int termLength, int senderMtuLength, InetSocketAddress controlAddress, InetSocketAddress sourceAddress, NanoClock nanoClock, MediaDriver.Context context, CountersManager countersManager)
      Return a new CongestionControl instance.
      Specified by:
      newInstance in interface CongestionControlSupplier
      Parameters:
      registrationId - for the publication image.
      udpChannel - for the publication image.
      streamId - for the publication image.
      sessionId - for the publication image.
      termLength - for the publication image.
      senderMtuLength - for the publication image.
      controlAddress - for the publication image.
      sourceAddress - for the publication image.
      nanoClock - for the precise timing.
      context - for configuration options applied in the driver.
      countersManager - for the driver.
      Returns:
      congestion control instance ready for immediate usage.