All Classes and Interfaces
Class
Description
Abstract minimum multicast sender flow control strategy.
Indicates a currently active driver has been detected in
aeron.dir during startup.Aeron entry point for communicating to the Media Driver for creating
Publications and Subscriptions.Configuration options for the
Aeron client.Provides a means to override configuration for an
Aeron client via the
Aeron.connect(Aeron.Context) method and its overloads.Client for interacting with a local or remote Aeron Archive which records and replays message streams from storage.
Allows for the async establishment of an archive session.
Represents connection state.
Common configuration properties for communicating with an Aeron archive.
Specialised configuration options for communicating with an Aeron Archive.
Describes state of the client instance.
Client for interacting with an Aeron Cluster.
Allows for the async establishment of a cluster session.
Represents connection state.
Configuration options for cluster client.
Context for cluster session and connection.
Annotation to indicate this is an Aeron counter.
This class serves as a registry for all counter type IDs used by Aeron.
A means to capture an event of significance that does not require a stack trace, so it can be lighter-weight
and take up less space in a
DistinctErrorLog.Base Aeron exception for catching all Aeron specific errors.
Category of
Exception.An
AuthorisationService that allows the actions required by Cluster Backup
and Aeron Cluster Standby.Class to be used for determining AppVersion compatibility.
The Aeron Archive which allows for the recording and replay of local and remote
Publications.Configuration for system properties and defaults.
Overrides for the defaults and system properties.
For allocating and finding Archive associated counters identified by the
Aeron.clientId().A means to capture an Archive event of significance that does not require a stack trace, so it can be lighter-weight
and take up less space in a
DistinctErrorLog.Exception raised when communicating with the
AeronArchive.Used to mark the presence of a running
Archive in a directory to guard it.Proxy class for encapsulating encoding and sending of control protocol messages to an archive.
Tool for inspecting and performing administrative tasks on an
Archive and its contents which is described
in a Catalog.Allows user to confirm or reject an action.
Archiving media driver which is an aggregate of a
MediaDriver and an Archive.Used to indicate a failed authentication attempt when connecting to a system.
Interface for an Authenticator to handle authentication of clients to a system.
Used to supply instances of
Authenticator.Interface for an authorisation service to handle authorisation checks on clients performing actions to a system.
Used to supply instances of
AuthorisationService.Interface for notification of new
Images becoming available under a Subscription.Function for handling a block of message fragments scanned from the log.
Reusable Builder for appending a sequence of buffer fragments which grows internal capacity as needed.
Represents a claimed range in a buffer to be used for recording a message without copy semantics for later commit.
Tool for inspecting and performing administrative tasks on an
Archive and its contents which is described in
the Catalog.Read only view of a
Catalog which can be used for listing entries.Indicates an error occurred when setting up the channel for either a
Publication or
Subscription.Status of the Aeron media channel for a
Publication or Subscription.Parser for Aeron channel URIs.
Typesafe means of building a channel URI associated with a
Publication or Subscription.An interface representing API to compute a data checksum.
Factory and common methods for working with
Checksum instances.Counter for tracking the timestamp of a last heartbeat from an Aeron client.
Session representing a connected external client to the cluster.
Client timeout event received from the driver for this client.
Indicate a client has timed out by the driver.
Interface for a
ClusteredService to interact with cluster hosting it.Role of the node in the cluster.
Backup component which can run remote from a cluster which polls for snapshots and replicates the log.
Configuration options for
ClusterBackup with defaults and constants for system properties lookup.Determines what position to start from when backing up the log from the cluster.
Context for overriding default configuration for
ClusterBackup.Defines the type of node that this will receive log data from.
State of the cluster backup state machine.
Agent which backs up a remote cluster by replicating the log and polling for snapshots.Listener which can be registered via
ClusterBackup.Context for tracking backup progress.Representation of a client session to an Aeron Cluster for use in an
ConsensusModuleExtension.A clock representing a number of
TimeUnits since 1 Jan 1970 UTC.Toggle control
ClusterControl.ToggleStates for a cluster node such as ClusterControl.ToggleState.SUSPEND or
ClusterControl.ToggleState.RESUME.Toggle states for controlling the cluster node once it has entered the active state after initialising.
For allocating and finding cluster associated counters identified by
ClusteredServiceContainer.Context.clusterId().Clustered archive which is an aggregate of a
ConsensusModule and an Archive.Interface which a service must implement to be contained in the cluster.
Container for a service in the cluster managed by the Consensus Module.
Configuration options for the consensus module and service container within a cluster.
The context will be owned by
ClusteredServiceAgent after a successful
ClusteredServiceContainer.launch(Context) and closed via ClusteredServiceContainer.close().A means to capture a Cluster event of significance that does not require a stack trace, so it can be lighter-weight
and take up less space in a
DistinctErrorLog.Exceptions specific to Cluster operation.
Used to indicate if a cluster component is running and what configuration it is using.
Represents a member of the cluster that participates in consensus for storing state from the perspective
of any single member.
Detail for the cluster membership from the perspective of a given member.
Data class for holding the properties used when interacting with a cluster for local admin control.
Used to terminate the
Agent within a cluster in an expected/unexpected fashion.Tool for control and investigating the state of a cluster node.
A command to be used by ClusterTool.
Functional interface of a cluster tool operator action used in
ClusterToolCommand.Actions for an operator tool to control cluster.
Description of the command and control file used between driver and clients.
This class provides the Media Driver and client with common configuration for the Aeron directory.
Condition to specify a triple state conditional of always override to be true, always override to be false,
or infer value.
Conclude has been called concurrently on a Context.
Aeron publisher API for sending messages to subscribers of a given channel and streamId pair.
A timeout has occurred between service calls for the client conductor.
Annotation to indicate this is a config option.
Used to indicate whether the default value is a time value.
Type is used to indicate whether the annotation is marking a property name or a default value.
A handy class for storing data that gets serialized into json.
ConfigOption processor.
Configuration options for the
MediaDriver.Indicates an invalid configuration option has been provided.
Strategy for applying congestion control to determine the receiver window length of the Status Messages.
Supplier of
CongestionControl algorithm implementations to be used by receivers.The state needed to allow control of the consensus module.
Component which resides on each node and is responsible for coordinating consensus within a cluster in concert
with the lifecycle of clustered services.
Configuration options for cluster.
Programmable overrides for configuring the
ConsensusModule in a cluster.Possible states for the
ConsensusModule.Control interface for performing operations on the consensus module from a
ConsensusModuleExtension.Extension for handling messages from external schemas unknown to core Aeron Cluster code
thus providing an extension to the core ingress consensus module behaviour.
Proxy for communicating with the Consensus Module over IPC.
A tool to patch the latest consensus module snapshot if it has divergence in the pending service messages state.
Listener for responses to requests made on the archive control channel and async notification of errors which may
happen later.
Adapter for dispatching egress messages from a cluster to a
ControlledEgressListener.Interface for consuming messages coming from the cluster that also include administrative events in a controlled
fashion like
ControlledFragmentHandler.Interface for consuming extension messages coming from the cluster that also
include administrative events in a controlled
fashion like
ControlledFragmentHandler.A
ControlledFragmentHandler that sits in a chain-of-responsibility pattern that reassembles fragmented
messages so that the next handler in the chain only sees whole messages.Handler for reading data that is coming from a log buffer.
Action to be taken on return from
ControlledFragmentHandler.onFragment(DirectBuffer, int, int, Header).Represents the control mode specified on a channel URI.
List of events used in the control protocol between client and the media driver.
Indicates an invalid use of the control protocol when sending commands from the client to driver.
Encapsulate the polling, decoding, and dispatching of archive control protocol response messages.
Interface for listening to events from the archive in response to requests.
Encapsulate the polling and decoding of archive control protocol response messages.
A counter that represents client connected to the Archive.
Encapsulates the polling of control
UdpChannelTransports using whatever means provides the lowest latency.Base flyweight that can be extended to track a client request.
Counter stored in a file managed by the media driver which can be observed with AeronStat.
A handy class for storing data that gets serialized into json.
Message to denote a new counter.
AeronCounter processor.
Functional interface that abstracts creation of the counters.
Message to denote that a Counter has become available or unavailable.
Supplier of credentials for authentication with a system.
CUBIC congestion control manipulation of the receiver window length.
Configuration options to be applied when
CubicCongestionControl is loaded.Supplier of
CubicCongestionControl implementations.Flyweight for Data Frame header of a message fragment.
Handling of dispatching data packets to
PublicationImages streams.Encapsulates the polling of data
UdpChannelTransports using whatever means provides the lowest latency.Configuration options to be applied when
DebugSendChannelEndpoint and DebugReceiveChannelEndpoint
are load.Debug implementation which can introduce loss.
Supply a debug implementation of a
ReceiveChannelEndpoint for testing loss.Debug implementation which can introduce loss.
Supply a debug implementation of a
SendChannelEndpoint for testing loss.Default implementation of
TerminationValidator that always allows termination.Default Authenticator which authenticates all connection requests immediately.
Supplier of congestion control algorithms which is aware of channel URI params otherwise defaults to
StaticWindowCongestionControl.Default implementation of
TerminationValidator that always denies termination.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.Use the default host name resolver via
InetAddress.Supply the default implementation of the
ReceiveChannelEndpoint.Supply the default implementation of the
SendChannelEndpoint.Indicates the 'type' of the default field/value.
Default supplier of
FlowControl strategies for unicast streams via
Configuration.UNICAST_FLOW_CONTROL_STRATEGY_PROP_NAME.Control message for removing a destination for a Publication in multi-destination-cast or a Subscription
in multi-destination Subscription.
Control message for adding or removing a destination for a Publication in multi-destination-cast or a Subscription
in multi-destination Subscription.
Vector into a
DirectBuffer to be used for gathering IO as and offset and length.Driver Conductor that takes commands from publishers and subscribers, and orchestrates the media driver.
Proxy for sending commands to the
DriverConductor.Common behaviour supported for driver resources such as publications and images.
Separates the concern of communicating with the client conductor away from the rest of the client.
A timeout has occurred while waiting on the media driver responding to an operation.
Duty cycle tracker that detects when a cycle exceeds a threshold and tracks max cycle time reporting both through
counters.
Tracker to handle tracking the duration of a duty cycle.
Adapter for dispatching egress messages from a cluster to a
EgressListener.Interface for consuming messages coming from the cluster that also include administrative events.
Interface for consuming messages coming from the cluster for an unknown schema.
Poller for the egress from a cluster to capture administration message details.
Election states for a
ConsensusModule which get represented by a ElectionState.code() stored in a
Counter of the type ConsensusModule.Configuration.ELECTION_STATE_TYPE_ID.Error codes between media driver and client and the on-wire protocol.
Flyweight for general Aeron network protocol error frame
Control message flyweight for any errors sent from driver to clients
Aeron publisher API for sending messages to subscribers of a given channel and streamId pair.
A handy class for storing expected C config info that can be serialized into json.
Feedback delay generator.
Factory for creating
RawLogs in the source publications or publication images directories as appropriate.A loss generator implementation that will lose a fixed block of data from a specific term-id/term-offset pair.
Strategy for applying flow control to the
Sender on each stream.The number of active receivers represented as a counter value.
Supplier of
FlowControl strategies to be employed by senders for publications.A
FragmentHandler that sits in a chain-of-responsibility pattern that reassembles fragmented messages
so that the next handler in the chain only sees whole messages.Handler for reading data that is coming from a log buffer.
Description of the structure for message framing in a log buffer.
A gradle task for generating config documentation.
Control message for getting next available session id from the media driver
(
ControlProtocolEvents.GET_NEXT_AVAILABLE_SESSION_ID).A utility class for running 'grep'.
Represents the header of the data frame for accessing metadata fields.
Flyweight for general Aeron network protocol header of a message frame.
Utility for applying a header to a message in a term buffer.
Allocate a counter for tracking the last heartbeat of an entity with a given registration id.
Represents a replicated
Publication from a which matches a Subscription.Message to denote that new buffers for a publication image are ready for a subscription.
State tracking for a connection endpoint to an image from transport.
A
ControlledFragmentHandler that sits in a chain-of-responsibility pattern that reassembles fragmented
messages so that the next handler in the chain only sees whole messages.A
FragmentHandler that sits in a chain-of-responsibility pattern that reassembles fragmented messages
so that the next handler in the chain only sees whole messages.Control message flyweight for any message that needs to represent a connection.
Encapsulate applying a client message header for ingress to the cluster.
Annotation for marking parts of the Aeron API for internal use only.
Indicates an invalid URI for a channel has been received by the driver from a client.
Encapsulation of a stream used directly between publishers and subscribers for IPC over shared memory.
Counter used to store the status of a bind address and port for the local end of a channel.
Layout description for log buffers which contains partitions of terms with associated term metadata,
plus ending with overall log metadata.
Takes a log file name and maps the file into memory and wraps it with
UnsafeBuffers as appropriate.Provides the functionality to unblock a log at a given position.
Factory interface for creating the log buffers under publications and images.
Detecting and handling of gaps in a message stream.
Interface for loss generators.
Handler for dealing with detected loss on a message stream.
A report of loss events on a message stream.
Report entry for a specific stream.
Reader that provides the function to read entries from a
LossReport.Consumer function to be implemented by caller of the read method.
Utility functions for dealing with the Loss Report.
Default multicast sender flow control strategy.
Supplier of
MaxMulticastFlowControl strategy implementations.The number of destinations represented as a counter value.
Main class for JVM-based media driver.
Context for the
MediaDriver that can be used to provide overrides for Configuration.A
ClusterClock implemented by calling System.currentTimeMillis().Minimum multicast sender flow control strategy.
Supplier of
MinMulticastFlowControl strategy implementations.A loss generator implementation that will introduce multiple data gaps from a specific term-id/term-offset pair.
Flyweight for a NAK Message Frame.
Interface to allow resolving a name to an
InetAddress.A
ClusterClock implemented by calling HighResolutionClock.epochNanos().Publication to be sent to connected subscribers.
Collection of network specific utility functions.
Message to denote a response to get next session id command
(
ControlProtocolEvents.ON_NEXT_AVAILABLE_SESSION_ID).Toggle control
NodeControl.ToggleStates for a cluster node such as NodeControl.ToggleState.REPLICATE_STANDBY_SNAPSHOT.Toggle states for controlling the cluster node once it has entered the active state after initialising.
An extensible list of information relating to a specific cluster node.
Null provider of credentials when no authentication is required.
Indicate a given operation is done and has succeeded.
Feedback delay used for NAKs as well as for some retransmission use cases.
Allocates
AtomicCounter indicating a per PublicationImage indication of presence for
CongestionControl.Interface for managing ports in use by UdpChannelTransports.
Deprecated.
Deprecated.
Use
TaggedMulticastFlowControlSupplier instead.Supplies instances of the
PriorityHeapTimerService.Abstract processor.
Aeron publisher API for sending messages to subscribers of a given channel and streamId pair.
Message to denote that new buffers have been created for a publication.
Encapsulates the data received when a publication receives an error frame.
Control message flyweight error frames received by a publication to be reported to the client.
Interface for handling various error frame messages for publications.
State maintained for active sessionIds within a channel for receiver processing.
Control message for adding or removing a publication
The limit as a position in bytes applied to publishers on a session-channel-stream tuple.
The position in bytes a publication has reached appending to the log.
Uniform random loss generator which can be used for testing loss scenarios.
Function for handling a raw block of fragments from the log that are contained in the underlying file.
Represents the collection of raw metadata and associated term buffers for publication and image logs.
Readonly view of an associated
Counter.Aggregator of multiple subscriptions onto a single transport channel for the receiving of data and setup frames
plus sending status and NAK frames.
Supplier of channel endpoints which extend
ReceiveChannelEndpoint to add specialised behaviour for the
receiver.Thread local variables that will only be accessed in the context of the Receiver agent thread from within a
ReceiveChannelEndpoint subclass.The status of a receiving channel endpoint represented as a counter value.
Destination endpoint representation for reception into an image from a UDP transport.
The receiving end of a local socket address, i.e.
Agent that receives messages streams and rebuilds
PublicationImages, plus iterates over them sending status
and control messages back to the Sender.The highest position the Receiver has observed on a session-channel-stream tuple while rebuilding the stream.
Count the number of NAK messages sent by the Receiver.
The highest position the Receiver has rebuilt up to on a session-channel-stream tuple while rebuilding the stream.
Consumer of events describing Aeron stream recordings.
Encapsulate the polling, decoding, dispatching of recording descriptors from an archive.
Encapsulate the polling, decoding, and dispatching of recording events.
Event listener for observing the status of recordings for an Archive.
Encapsulate the polling and decoding of recording events.
A log of recordings which make up the history of a Raft log across leadership terms.
Representation of the entry in the
RecordingLog.Representation of a log entry in the
RecordingLog.The snapshots and steps to recover the state of a cluster.
Representation of a snapshot entry in the
RecordingLog.The position a recording has reached when being archived.
Encapsulate the polling, decoding, and dispatching of recording transition events for a session plus the
asynchronous events to check for errors.
Consumer of signals representing operations applied to a recording.
Encapsulate the polling and decoding of archive control protocol response and recording signal messages.
Consumer for descriptors of active archive recording
Subscriptions.Encapsulate the polling, decoding, dispatching of recording descriptors from an archive.
Summary of the fixed length fields from a
RecordingDescriptorConsumer.Counter representing the Recovery State for the cluster.
Caused when an error occurs during addition, modification, or release of client resources such as
Publications, Subscriptions, or Counters.Control message to reject an image for a subscription.
Control message for removing a Counter.
Control message for removing a Publication or Subscription.
Control message for removing a Publication.
Control message for removing a Subscription.
Replay a recorded stream from a starting position and merge with live stream for a full history of a stream.
Fluent API for setting optional replay parameters.
Contains the optional parameters that can be passed to a Replication Request.
Supplies the reserved value field for a data frame header.
Flyweight for Resolution Entry header.
Sample client to be used with the response server.
A basic sample response server that allows the users to specify a simple function to represent the handling of a
request and then return a response.
Interface to manage callback from the response server onto a session.
HeaderFlyweight for Response Setup Message Frames.
Error handler that will rethrow a
Throwable as an unchecked exception.Tracking and handling of retransmit request, NAKs, for senders, and receivers.
Handler for sending a retransmit.
Flyweight for an RTT Measurement Frame Header.
Aggregator of multiple
NetworkPublications onto a single transport channel for the
sending of data and setup frames plus the receiving of status and NAK frames.Supplier of channel endpoints which extend
SendChannelEndpoint to add specialised behaviour for the sender.The status of a sending channel endpoint represented as a counter value.
Agent that iterates over
NetworkPublications for sending them to Receivers on behalf of registered
subscribers.Count of back-pressure events (BPE)s a sender has experienced on a stream.
The position the Sender can immediately send up-to on a session-channel-stream tuple.
Count the number of NAK messages received by the Sender.
The position the Sender has reached for sending data to the media on a session-channel-stream tuple.
The sending end of a local socket address, i.e.
Representation of a session during the authentication process from the perspective of an
Authenticator.HeaderFlyweight for Setup Message Frames.
An authenticator that works off a simple principal/credential pair constructed by a builder.
Builder to create instances of SimpleAuthenticator.
Authorisation service that supports setting general and per-principal rules as well as scoping to protocol, action,
and type.
Builder to create the authorisation service.
Snapshot duration tracker that tracks maximum snapshot duration and also keeps count of how many times a predefined
duration threshold is breached.
Base class of common functions required to take a snapshot of cluster state.
Message to denote a response to a create static counter request.
Message to get or create a new static counter.
Delay generator that simply returns a constant value for the delay and the retry delay.
Congestion control algorithm which uses the min of
MediaDriver.Context.initialWindowLength() or half a term
length as a static window.Flyweight for a Status Message Frame.
Functions for working with status counters.
A request to allocate a resource (e.g.
Allocates counters on a stream of messages.
Stream source that can be observed by subscribers which identify themselves the position they have read up to.
The position an individual Subscriber has reached on a session-channel-stream tuple.
Aeron Subscriber API for receiving a reconstructed
Image for a stream of messages from publishers on
a given channel and streamId pair, i.e.Subscription registration from a client used for liveness tracking.
Control message for adding or removing a subscription.
Message to denote that a Subscription has been successfully set up.
System-wide counters for monitoring.
Aggregate entry point for managing counters of system status.
Minimum multicast sender flow control strategy only for tagged members identified by a receiver tag or ASF key.
Supplier of
TaggedMulticastFlowControl implementation strategies.Scan a term buffer for a block of message fragments including padding.
Fills a gap in a term with a padding record.
Scans for gaps in the sequence of bytes in a replicated term buffer between the completed rebuild and the
high-water-mark.
Handler for notifying of gaps in the log.
Command message flyweight to ask the driver process to terminate.
Validate if the driver should terminate based on the provided token.
Utility functions for reading a term within a log buffer.
Rebuild a term buffer from received frames which can be out-of-order.
Scans a term buffer for an availability range of message fragments.
Unblocks a term buffer if a publisher has died leaving the log with a partial log entry.
Status result of an
TermUnblocker.unblock(UnsafeBuffer, UnsafeBuffer, int, int, int) operation.Threading mode to be employed by the
Agents in the MediaDriver.Generic timeout has occurred while waiting on some action or event.
Timer service providing API to schedule timers in the Cluster.
Called from the
TimerService.poll(long).Called from the
TimerService.snapshot(TimerSnapshotTaker).Supplier of
TimerService implementations to be used by the ConsensusModule.The media configuration for Aeron UDP channels as an instantiation of the socket addresses for a
ChannelUri.Base class for UDP channel transports which is specialised for send or receive endpoints.
UdpChannelTransport specialised for name resolution between MediaDrivers.Handler for processing the received frames.
Encapsulates the polling of a number of
UdpChannelTransports using whatever means provides the
lowest latency.Interface for delivery of inactive image notification to a
Subscription.Default unicast sender flow control strategy.
Indicates the subscription is unknown to the driver when a request to remove it has been received.
A gradle task for validating the C code looks as expected, based on the contents of the @Config java annotations.
A gradle task for validating C counters conform to expectations set by the AeronCounter annotation in java.
Version information for a specific component.
Annotation to indicate a version class should be generated.
Version processor.
Supplies an instance of a
WheelTimerService based on the configuration given to the constructor.Class for managing wildcard ports for UDP channel transports within a specific range.
TaggedMulticastFlowControlinstead