Class DefaultMulticastFlowControlSupplier

java.lang.Object
io.aeron.driver.DefaultMulticastFlowControlSupplier
All Implemented Interfaces:
FlowControlSupplier

public class DefaultMulticastFlowControlSupplier extends Object implements FlowControlSupplier
Default supplier of FlowControl strategies for multicast streams which supports defining the strategy in the channel URI as a priority over Configuration.MULTICAST_FLOW_CONTROL_STRATEGY_PROP_NAME.
  • Constructor Details

    • DefaultMulticastFlowControlSupplier

      public DefaultMulticastFlowControlSupplier()
  • Method Details

    • newInstance

      public FlowControl newInstance(UdpChannel udpChannel, int streamId, long registrationId)
      Return a new FlowControl instance.
      Specified by:
      newInstance in interface FlowControlSupplier
      Parameters:
      udpChannel - for the publication.
      streamId - for the publication.
      registrationId - for the publication.
      Returns:
      flow control instance ready for immediate usage.
    • toString

      public String toString()
      Overrides:
      toString in class Object