|
| interface | IReplayerRecoveryActions |
| | Everything ReplayerRecovery cannot do itself: the sends, the replay subscription, and the gauge. ReplayerStreamReceiver implements it against Aeron; the unit suite substitutes a recorder.
|
| |
| interface | ISnapshotRestoreHandler |
| | Takes a source's snapshot as a restore reads it from this instance's own file, before any frame after its cut is dispatched (doc/snapshot.md §7). Each restore, a restart's included, begins with OnSnapshotHeader. More...
|
| |
| class | ReplayerRecovery |
| | The state machine of ReplayerStreamReceiver. A cold start walks the node's active recording of its queue from its start, which must be the queue's: a recording that starts at a cut or was purged stops the walk at its first frame. Catch-up is detected by position (Replaying.catchUpPosition); a gap by groupSeqNo (spec F-6), repaired by resuming the active recording at the last dispatched frame. De-duplication and a resume's anchor go by clusterSeqNo, which increases along a queue but jumps (spec P-3).
|
| |
| class | ReplayerStreamReceiver |
| | App-replica side of the per-node ReplayerService: reads the co-located queue live and asks the Replayer for history and gaps. The Aeron adapter only: every decision lives in ReplayerRecovery. ReplayerStreamReceiver.java and replayer/client/ReplayerStreamReceiver.hpp are its twins. More...
|
| |
| class | SequencedEvent |
| | One frame delivered in order off the sequenced stream, live or replayed; SequencedEvent.java and the C++ SequencedEvent are its twins. The envelope is stripped: split on SequencedFrameDecoder.IsSystem, then dispatch on (PayloadId, TemplateId) or SequencedFrameDecoder.SystemEventType. Every system frame but LeadershipChanged, which has its own callback, arrives here. More...
|
| |
| class | SnapshotStore |
| | This instance's own snapshots, in a directory no other instance writes (doc/snapshot.md §4.1). A round is written as <round>.tmp: the records, each a little-endian uint16 length and its bytes, record 0 the façade's header, then a trailer: More...
|
| |