Package io.aeron.driver
package io.aeron.driver
The
MediaDriver
manages sending and receiving from the underlying media and handling
request from the Aeron clients. The media driver can run in-process, or out of process, from the Aeron clients.-
ClassDescriptionAbstract minimum multicast sender flow control strategy.Configuration options for the
MediaDriver
.Strategy for applying congestion control to determine the receiver window length of the Status Messages.Supplier ofCongestionControl
algorithm implementations to be used by receivers.Handling of dispatching data packets toPublicationImage
s streams.Default implementation ofTerminationValidator
that always allows termination.Supplier of congestion control algorithms which is aware of channel URI params otherwise defaults toStaticWindowCongestionControl
.Default implementation ofTerminationValidator
that always denies termination.Default supplier ofFlowControl
strategies for multicast streams which supports defining the strategy in the channel URI as a priority overConfiguration.MULTICAST_FLOW_CONTROL_STRATEGY_PROP_NAME
.Use the default host name resolver viaInetAddress
.Supply the default implementation of theReceiveChannelEndpoint
.Supply the default implementation of theSendChannelEndpoint
.Default supplier ofFlowControl
strategies for unicast streams viaConfiguration.UNICAST_FLOW_CONTROL_STRATEGY_PROP_NAME
.Driver Conductor that takes commands from publishers and subscribers, and orchestrates the media driver.Proxy for sending commands to theDriverConductor
.Common behaviour supported for driver resources such as publications and images.Tracker to handle tracking the duration of a duty cycle.Feedback delay generator.Strategy for applying flow control to theSender
on each stream.Supplier ofFlowControl
strategies to be employed by senders for publications.Encapsulation of a stream used directly between publishers and subscribers for IPC over shared memory.Detecting and handling of gaps in a message stream.Handler for dealing with detected loss on a message stream.Default multicast sender flow control strategy.Supplier ofMaxMulticastFlowControl
strategy implementations.Main class for JVM-based media driver.Context for theMediaDriver
that can be used to provide overrides forConfiguration
.Minimum multicast sender flow control strategy.Supplier ofMinMulticastFlowControl
strategy implementations.Interface to allow resolving a name to anInetAddress
.Publication to be sent to connected subscribers.Feedback delay used for NAKs as well as for some retransmission use cases.Deprecated.Deprecated.UseTaggedMulticastFlowControlSupplier
instead.State maintained for active sessionIds within a channel for receiver processing.Supplier of channel endpoints which extendReceiveChannelEndpoint
to add specialised behaviour for the receiver.Agent that receives messages streams and rebuildsPublicationImage
s, plus iterates over them sending status and control messages back to theSender
.Tracking and handling of retransmit request, NAKs, for senders, and receivers.Handler for sending a retransmit.Supplier of channel endpoints which extendSendChannelEndpoint
to add specialised behaviour for the sender.Agent that iterates overNetworkPublication
s for sending them toReceiver
s on behalf of registered subscribers.Delay generator that simply returns a constant value for the delay and the retry delay.Congestion control algorithm which uses the min ofMediaDriver.Context.initialWindowLength()
or half a term length as a static window.Stream source that can be observed by subscribers which identify themselves the position they have read up to.Subscription registration from a client used for liveness tracking.Minimum multicast sender flow control strategy only for tagged members identified by a receiver tag or ASF key.Supplier ofTaggedMulticastFlowControl
implementation strategies.Validate if the driver should terminate based on the provided token.Threading mode to be employed by theAgent
s in theMediaDriver
.Default unicast sender flow control strategy.
TaggedMulticastFlowControl
instead