Index

A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

abandon() - Method in class org.limitless.seqeron.replayer.client.SnapshotStore
Drops the write in progress, if any.
activeGatewayId() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader.GatewayState
Returns the value of the activeGatewayId record component.
addAppCounter(Aeron, int, String, int, int) - Static method in class org.limitless.seqeron.protocol.SeqeronCounters
Allocates an app counter keyed on {memberId, clientId}.
addCounter(Aeron, int, String, int) - Static method in class org.limitless.seqeron.protocol.SeqeronCounters
Allocates an operator counter keyed on memberId, so a reader recovers the member without parsing the label.
addressedGroups(String...) - Method in class org.limitless.seqeron.app.Application.Builder
The names of the groups this application publishes to besides its own; one the log's group table lacks fences it with ClusterError.GROUP_UNKNOWN.
addressedGroups(String...) - Method in class org.limitless.seqeron.app.Gateway.Builder
The names of the groups this gateway publishes to besides its own; one the log's group table lacks fences it with ClusterError.GROUP_UNKNOWN.
aeronDir(int) - Static method in class org.limitless.seqeron.protocol.PortLayout
A node's Aeron directory when none is configured, which a member and every client sharing its driver must agree on: seqeron-seq-aeron-<nodeId> under /dev/shm where the host has one, so the driver's log buffers are in memory, else under java.io.tmpdir.
APP_KEY_LENGTH - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Length of the key buffer written by SeqeronCounters.addAppCounter(io.aeron.Aeron, int, java.lang.String, int, int): memberId then clientId.
APP_RECOVERY_STALLED_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
1 while a co-located replica's recovery has dispatched nothing while not caught up, else 0.
APP_SNAPSHOT_ROUND_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
The last snapshot round a participating client confirmed (doc/snapshot.md §4), 0 for none yet.
APP_TYPE_ID_MAX - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Last type id of the app range; which replica holds which sub-block is the deployment's to record.
APP_TYPE_ID_MIN - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
append(DirectBuffer, int, int) - Method in class org.limitless.seqeron.replayer.client.SnapshotStore
Appends one record to the file being written.
Application - Class in org.limitless.seqeron.app
One replica of a co-located application — the kind of producer nothing elects.
APPLICATION_REGISTERED - Static variable in class org.limitless.seqeron.protocol.SystemFrame
One co-located application's row; labelling only, and no election behind it.
Application.Builder - Class in org.limitless.seqeron.app
Everything one replica needs to join its deployment.
Application.Listener - Interface in org.limitless.seqeron.app
What an application does that this class cannot do for it.
AppliedLogTruncated - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
The consensus module truncated this node's log below what it applied; its state is not the log's.
ARCHIVE_CONTROL_CHANNEL - Static variable in class org.limitless.seqeron.protocol.PortLayout
How a process reaches the archive in its own Aeron directory: no endpoint, so no port to allocate.
ARCHIVE_CONTROL_STREAM_ID - Static variable in class org.limitless.seqeron.protocol.PortLayout
Control stream of that link.
archivePort(int) - Static method in class org.limitless.seqeron.protocol.PortLayout
That member's Aeron Archive control port.
ATTACH_REPLY_CHANNEL - Static variable in class org.limitless.seqeron.protocol.ProxyProtocol
Proxy → client: Attached, shared by every client.
ATTACH_REPLY_STREAM - Static variable in class org.limitless.seqeron.protocol.ProxyProtocol
 
ATTACH_REQUEST_CHANNEL - Static variable in class org.limitless.seqeron.protocol.ProxyProtocol
Client → proxy: Attach and Detach, shared by every client.
ATTACH_REQUEST_STREAM - Static variable in class org.limitless.seqeron.protocol.ProxyProtocol
 
awaitWrites() - Method in class org.limitless.seqeron.replayer.client.SnapshotStore
Waits until the rounds confirmed so far are durable, or failed, and the files they replace deleted.

B

beat(Counter) - Static method in class org.limitless.seqeron.protocol.ProxyProtocol
Writes ProxyProtocol.heartbeatNow() to a heartbeat counter.
begin(long, long, long, long) - Method in class org.limitless.seqeron.replayer.client.SnapshotStore
Starts writing a round's file, dropping any write still open, once the rounds before it are confirmed.
blockLength() - Method in class org.limitless.seqeron.app.Payload
For the decoder's wrap, from the payload's own MessageHeader.
blockLength() - Method in class org.limitless.seqeron.protocol.SequencedFrameDecoder
What to wrap a decoder over SequencedFrameDecoder.payloadOffset() with on an application frame: the payload's own.
bodyLength() - Method in class org.limitless.seqeron.app.Payload
The body's length from Payload.bodyOffset().
bodyOffset() - Method in class org.limitless.seqeron.app.Payload
Where the body starts: past the envelope and past the payload's own MessageHeader.
buffer() - Method in class org.limitless.seqeron.app.Payload
The buffer the body sits in.
buffer() - Method in class org.limitless.seqeron.protocol.SequencedFrameDecoder
Buffer the frame sits in; valid only while the frame it was wrapped over is.
build() - Method in class org.limitless.seqeron.app.Application.Builder
 
build() - Method in class org.limitless.seqeron.app.Consumer.Builder
 
build() - Method in class org.limitless.seqeron.app.Gateway.Builder
 
builder() - Static method in class org.limitless.seqeron.app.Application
 
builder() - Static method in class org.limitless.seqeron.app.Consumer
 
builder() - Static method in class org.limitless.seqeron.app.Gateway
 
Builder() - Constructor for class org.limitless.seqeron.app.Application.Builder
 
Builder() - Constructor for class org.limitless.seqeron.app.Consumer.Builder
 
Builder() - Constructor for class org.limitless.seqeron.app.Gateway.Builder
 

C

canAccept() - Method in class org.limitless.seqeron.app.Gateway
Whether a connection may be taken right now: this instance is serving, and ingress is not held behind a failover's resend.
canPublish() - Method in class org.limitless.seqeron.app.Application
Whether leader-only work may reach ingress right now: the gate is open, and ingress is not held.
CaughtUpHandler - Interface in org.limitless.seqeron.replayer.client
Fires on every transition to caught-up, including re-convergence after a gap.
CLIENT_PROTOCOL - Enum constant in enum class org.limitless.seqeron.app.ClusterError
A hosted client broke the host protocol, for instance by opening a connection under an id the façade did not allocate.
clientId(int) - Method in class org.limitless.seqeron.app.Application.Builder
This replica's client id, its counters' label — required, and unique among the clients on its node: two sharing one share their counters' series.
clientId(int) - Method in class org.limitless.seqeron.app.Consumer.Builder
This consumer's client id, its counters' label — required, and unique among the clients on its node: two sharing one share their counters' series.
clientId(int) - Method in class org.limitless.seqeron.app.Gateway.Builder
This instance's client id, its counters' label — required, and unique among the clients on its node: two sharing one share their counters' series.
Clocks - Class in org.limitless.seqeron.util
The monotonic clock every duty-cycle deadline in this tree measures against.
close() - Method in class org.limitless.seqeron.app.Application
Closes the cluster session and the queue.
close() - Method in class org.limitless.seqeron.app.Consumer
Closes the queue and replay subscriptions.
close() - Method in class org.limitless.seqeron.app.Gateway
Closes the cluster session and the queue.
close() - Method in class org.limitless.seqeron.replayer.client.ReplayerStreamReceiver
 
close() - Method in class org.limitless.seqeron.replayer.client.SnapshotStore.Reader
 
close() - Method in class org.limitless.seqeron.sequencer.client.ClusterStreamSender
Closes the session, and any attempt to replace it.
closeConnection(int) - Method in class org.limitless.seqeron.app.Gateway
The same for a connection that has gone.
Cluster - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreComponent
The cluster session client, ClusterStreamSender.
CLUSTER_HEARTBEAT - Static variable in class org.limitless.seqeron.protocol.SystemFrame
Synthesis-only.
CLUSTER_HEARTBEAT_INTERVAL_MS - Static variable in class org.limitless.seqeron.protocol.FrameLayer
Period of the cluster clock: every node emits a ClusterHeartbeat carrying the consensus timestamp, so consumers have a clock that advances while producers are silent.
CLUSTER_HEARTBEAT_INTERVAL_NS - Static variable in class org.limitless.seqeron.protocol.FrameLayer
FrameLayer.CLUSTER_HEARTBEAT_INTERVAL_MS in consensus time, which is epoch nanoseconds.
CLUSTER_MEMBER_COUNT - Static variable in class org.limitless.seqeron.protocol.PortLayout
Members a cluster is bounded at, since the reserved block is this many strides wide: Raft's 3, 5 or 7.
CLUSTER_PORT_BASE - Static variable in class org.limitless.seqeron.protocol.PortLayout
The base this process runs on, PortLayout.ENV_PORT_BASE's value or PortLayout.DEFAULT_CLUSTER_PORT_BASE.
CLUSTER_PORT_BLOCK_FIRST - Static variable in class org.limitless.seqeron.protocol.PortLayout
Core's reserved block (doc/ops.md, "Ports"): seven members wide, one stride each — wider than the base+1..base+65 seven members bind.
CLUSTER_PORT_BLOCK_LAST - Static variable in class org.limitless.seqeron.protocol.PortLayout
Last port of core's reserved block.
CLUSTER_PORT_STRIDE - Static variable in class org.limitless.seqeron.protocol.PortLayout
Ports one member takes, so member m's block starts at base + m * stride.
CLUSTER_SESSION_LOST - Enum constant in enum class org.limitless.seqeron.app.ClusterError
The cluster closed this session, or a new leader never arrived, on a gateway instance that had announced its activation on it; or no new session replaced it in time on any other.
CLUSTER_STARTED - Static variable in class org.limitless.seqeron.protocol.SystemFrame
Operator marker: the cluster is up and open for the day.
CLUSTER_STOPPED - Static variable in class org.limitless.seqeron.protocol.SystemFrame
Operator marker: an orderly shutdown, the last business event in the log.
ClusterError - Enum Class in org.limitless.seqeron.app
Why a producer may no longer act.
ClusterIpcFallback - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
The co-located member did not answer IPC ingress, so the sender fell back to UDP.
ClusterOfferFailed - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
Cluster ingress took no frame for long enough to call the session lost.
ClusterProbe - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreComponent
The end-to-end probe tool.
clusterSeqNo() - Method in class org.limitless.seqeron.app.Payload
Cluster-wide monotone sequence number; along this queue it increases, but not by one (spec F-6).
clusterSeqNo() - Method in class org.limitless.seqeron.protocol.SequencedFrameDecoder
Cluster-wide monotone sequence number; along one queue it increases, but not by one (F-6).
ClusterSessionError - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
The cluster session reported an error on submit.
clusterSessionId() - Method in class org.limitless.seqeron.sequencer.client.ClusterStreamSender
 
clusterSessionId() - Method in interface org.limitless.seqeron.sequencer.client.IngressSender
This process's cluster session id, or -1 with no session.
ClusterStreamSender - Class in org.limitless.seqeron.sequencer.client
The cluster session a producer submits on — the Java twin of sequencer/client/ClusterStreamSender.hpp, with the same method names and semantics.
ClusterStreamSender() - Constructor for class org.limitless.seqeron.sequencer.client.ClusterStreamSender
ClusterStreamSender(IdleStrategy) - Constructor for class org.limitless.seqeron.sequencer.client.ClusterStreamSender
The same, waiting on idle wherever it blocks: the ClusterStreamSender.send(org.agrona.DirectBuffer, int) spin and a session's connect.
clusterTimestampNs() - Method in class org.limitless.seqeron.app.Payload
The Raft consensus timestamp, identical on every node.
clusterTimestampNs() - Method in class org.limitless.seqeron.protocol.SequencedFrameDecoder
Cluster consensus time (epoch ns) at which the frame was committed (header.timestamp).
code() - Method in record class org.limitless.seqeron.util.Logger.LoggerEvent
Returns the value of the code record component.
COMMANDS_CHANNEL - Static variable in class org.limitless.seqeron.protocol.ProxyProtocol
Client → proxy: one exclusive publication per attachment.
COMMANDS_STREAM - Static variable in class org.limitless.seqeron.protocol.ProxyProtocol
 
commit(int, long, long, int) - Method in class org.limitless.seqeron.replayer.client.SnapshotStore
Completes the file being written with its trailer, still under its temporary name.
component() - Method in record class org.limitless.seqeron.util.Logger.LoggerEvent
Returns the value of the component record component.
confirm(long) - Method in class org.limitless.seqeron.replayer.client.SnapshotStore
The log confirms round: off this thread, its file is made durable under its name, and every older file but the newest confirmed one, and any write of one a crash left behind, is deleted.
connect(Aeron, String, String) - Method in class org.limitless.seqeron.sequencer.client.ClusterStreamSender
Connects a client co-located with no member: UDP ingress against the whole endpoint set.
connect(Aeron, String, String, EgressListener) - Method in class org.limitless.seqeron.sequencer.client.ClusterStreamSender
The same, for a caller that must see session events — a gateway's cluster-session fence.
connectColocated(Aeron, int, long, String, String) - Method in class org.limitless.seqeron.sequencer.client.ClusterStreamSender
Connects a client sharing a cluster member's Aeron directory: that member's aeron:ipc first, within the short ipcConnectTimeoutMs since a follower never answers there, then UDP.
connectColocated(Aeron, int, long, String, String, EgressListener) - Method in class org.limitless.seqeron.sequencer.client.ClusterStreamSender
The same, for a caller that must see session events.
CONNECTION_CLOSED - Static variable in class org.limitless.seqeron.protocol.SystemFrame
A connection closed at a producer; header.connectionId names it.
CONNECTION_OPENED - Static variable in class org.limitless.seqeron.protocol.SystemFrame
The systemEventType table (§7).
connectionId() - Method in class org.limitless.seqeron.app.Payload
The producer's connection this frame belongs to, or -1 for a producer-scoped one.
connectionId() - Method in record class org.limitless.seqeron.app.ReplyAddress
Returns the value of the connectionId record component.
connectionId() - Method in class org.limitless.seqeron.protocol.SequencedFrameDecoder
Connection at that producer (header.connectionId); routes the reply.
ConsensusModule - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreComponent
Aeron's own consensus module, whose errors reach this log through the service.
ConsensusModuleError - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
Aeron's consensus module raised an error.
consensusPort(int) - Static method in class org.limitless.seqeron.protocol.PortLayout
That member's consensus port, which the cluster's members use among themselves.
Consumer - Class in org.limitless.seqeron.app
A read-only client: it reads one group's queue and publishes nothing, so it opens no cluster session, takes no part in an election and needs no topology row.
Consumer.Builder - Class in org.limitless.seqeron.app
Everything one consumer needs to follow its queue.
Consumer.Listener - Interface in org.limitless.seqeron.app
What a consumer does that this class cannot do for it.
CONTROL_STREAM_ID - Static variable in class org.limitless.seqeron.protocol.ReplayProtocol
ReplayerService → apps: Replaying / ReplayPending / QueueResolved.
ControlReplyDropped - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
A replay control reply was dropped, its subscriber having gone away.
crc32c() - Method in class org.limitless.seqeron.replayer.client.SnapshotStore.Reader
The trailer's crc32c.
crc32c(DirectBuffer, int, int) - Static method in class org.limitless.seqeron.protocol.SnapshotFormat
The CRC-32C of a span of bytes, as SnapshotEnd.crc32c carries it.
currentLeaderMemberId() - Method in class org.limitless.seqeron.replayer.client.ReplayerStreamReceiver
memberId of the current leader per the last LeadershipChanged processed, or -1 until one is seen.
cutClusterSeqNo() - Method in class org.limitless.seqeron.replayer.client.SnapshotStore.Reader
The trailer's cutClusterSeqNo.
cutPosition() - Method in class org.limitless.seqeron.replayer.client.SnapshotStore.Reader
The trailer's cutPosition.
cutTimestampNs() - Method in class org.limitless.seqeron.replayer.client.SnapshotStore.Reader
The trailer's cutTimestamp.

D

DAMAGED - Static variable in class org.limitless.seqeron.replayer.client.SnapshotStore.Reader
The records do not match the trailer, or could not be read.
Declined - Enum constant in enum class org.limitless.seqeron.protocol.Publish
Nothing was offered; the same frame may be offered again.
decode(DirectBuffer, int, int) - Static method in record class org.limitless.seqeron.protocol.SnapshotHeader
DEFAULT - Static variable in record class org.limitless.seqeron.app.Tuning
1,024 messages, 20 heartbeat periods and three times that.
DEFAULT_CLUSTER_PORT_BASE - Static variable in class org.limitless.seqeron.protocol.PortLayout
The base when PortLayout.ENV_PORT_BASE is unset: core's registered block.
DEFAULT_HOST - Static variable in class org.limitless.seqeron.protocol.PortLayout
Every default endpoint below is on one host; a real deployment overrides them wholesale.
DEFAULT_HOST_NAME - Static variable in class org.limitless.seqeron.protocol.ProxyProtocol
The hostName a client names in its Attach unless it is configured with another.
DEFAULT_IPC_CONNECT_TIMEOUT_MS - Static variable in class org.limitless.seqeron.app.Application
How long ingress is tried on this member's own aeron:ipc: short, as a follower never answers.
DEFAULT_MEMBER_COUNT - Static variable in class org.limitless.seqeron.protocol.PortLayout
Members of the default cluster on PortLayout.DEFAULT_HOST, what the default endpoint sets name.
DEFAULT_PENDING_CAPACITY - Static variable in class org.limitless.seqeron.app.Application
Frames in flight between a publish and the queue; far above what one round trip holds.
DEFAULT_PENDING_CAPACITY - Static variable in class org.limitless.seqeron.app.Gateway
Frames in flight between a publish and the queue; far above what one round trip holds.
DEFAULT_QUEUE_STALL_TIMEOUT_MS - Static variable in class org.limitless.seqeron.app.Application
How long the queue may be silent before this replica is fenced — 20 heartbeat periods.
DEFAULT_QUEUE_STALL_TIMEOUT_MS - Static variable in class org.limitless.seqeron.app.Gateway
How long the queue may be silent before this instance is fenced — 20 heartbeat periods.
DEFAULT_RECOVERY_STALL_TIMEOUT_MS - Static variable in class org.limitless.seqeron.app.Application
How long recovery may dispatch nothing, once caught up before; longer, as a re-walk is slower.
DEFAULT_RECOVERY_STALL_TIMEOUT_MS - Static variable in class org.limitless.seqeron.app.Gateway
How long recovery may dispatch nothing, once caught up before; longer than the queue's, as a re-walk is slower.
discardUnconfirmed() - Method in class org.limitless.seqeron.sequencer.client.PendingSends
Forgets every pending frame, for a producer that knows none of them will be sequenced.
dispatch(K, W) - Method in interface org.limitless.seqeron.app.OutstandingWork.Dispatcher
Takes one request.
dispatchUndispatched(OutstandingWork.Dispatcher<K, W>) - Method in class org.limitless.seqeron.app.OutstandingWork
Leader only, while the gate is open.
doWork() - Method in class org.limitless.seqeron.app.Application
One duty-cycle iteration: the cluster session and the queue, then the gate over what they left.
doWork() - Method in class org.limitless.seqeron.app.Consumer
One duty-cycle iteration.
doWork() - Method in class org.limitless.seqeron.app.Gateway
One duty-cycle iteration: the cluster session and the queue, then whatever the connection lifecycle, the election and a snapshot round still owe.
durableRound() - Method in class org.limitless.seqeron.replayer.client.SnapshotStore
The newest round SnapshotStore.confirm(long)ed whose file is durable under its name; -1 for none.

E

egressChannel(String) - Method in class org.limitless.seqeron.app.Application.Builder
This client's own egress endpoint; two media drivers on one host cannot both bind a port.
egressChannel(String) - Method in class org.limitless.seqeron.app.Gateway.Builder
This client's own egress endpoint; two media drivers on one host cannot both bind a port.
encode(MutableDirectBuffer, int) - Method in record class org.limitless.seqeron.protocol.SnapshotHeader
Writes the header.
encodedLength() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader
Bytes SnapshotHeader.encode(org.agrona.MutableDirectBuffer, int) writes; the value of headerLength.
END - Static variable in class org.limitless.seqeron.replayer.client.SnapshotStore.Reader
After the last record, which every record before it matched the trailer to.
ENV_HOSTS - Static variable in class org.limitless.seqeron.protocol.PortLayout
Deployment-wide host list, "h0,h1,h2": member i runs on entry i.
ENV_PORT_BASE - Static variable in class org.limitless.seqeron.protocol.PortLayout
Deployment-wide port-base override, read by all three mirrors.
equals(Object) - Method in record class org.limitless.seqeron.app.ReplyAddress
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.limitless.seqeron.app.Tuning
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.limitless.seqeron.protocol.SnapshotHeader
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.limitless.seqeron.protocol.SnapshotHeader.GatewayRow
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.limitless.seqeron.protocol.SnapshotHeader.GatewayState
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.limitless.seqeron.protocol.SnapshotHeader.Group
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.limitless.seqeron.util.Logger.LoggerEvent
Indicates whether some other object is "equal to" this one.
error(Logger.Component, Logger.EventCode, Integer, String, Object...) - Static method in class org.limitless.seqeron.util.Logger
Logs a fault the process carries on past, at Logger.Severity.Error.
Error - Enum constant in enum class org.limitless.seqeron.util.Logger.Severity
A fault the reporting process carries on past.
EVENTS_CHANNEL - Static variable in class org.limitless.seqeron.protocol.ProxyProtocol
Proxy → client: one exclusive publication per attachment.
EVENTS_STREAM - Static variable in class org.limitless.seqeron.protocol.ProxyProtocol
 

F

fault(Logger.Component, Logger.EventCode, Integer, String, Object...) - Static method in class org.limitless.seqeron.util.Logger
Logs one it does not, at Logger.Severity.Fault: the caller stops or fences itself after this.
Fault - Enum constant in enum class org.limitless.seqeron.util.Logger.Severity
One it does not: the reporter stops, or fences itself, rather than carry on.
FirstFrameNotOne - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
The first frame observed was not clusterSeqNo 1, so history is incomplete.
formatVersion() - Method in interface org.limitless.seqeron.app.SnapshotListener
The version of the record format SnapshotListener.onSnapshot(org.agrona.MutableDirectBuffer, int) writes, carried in SnapshotEnd.formatVersion and opaque to seqeron.
formatVersion() - Method in class org.limitless.seqeron.replayer.client.SnapshotStore.Reader
The trailer's formatVersion.
FrameLayer - Class in org.limitless.seqeron.protocol
The frame layer's constants: the queue's identity, the cluster clock, and the size limits of spec §12.
FROM_START - Static variable in class org.limitless.seqeron.protocol.ReplayProtocol
ReplayRequest.fromPosition asking for the active recording from its start.
fromProperty(String) - Static method in class org.limitless.seqeron.util.IdleStrategies
Resolves the strategy a system property names.

G

gateClosed() - Method in class org.limitless.seqeron.app.Gateway
The edge closed without being asked to — a dial that failed, a counterparty that hung up.
gateway() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader
Returns the value of the gateway record component.
Gateway - Class in org.limitless.seqeron.app
One instance of an elected active/standby producer pair.
GATEWAY_ACTIVATION_REQUESTED - Static variable in class org.limitless.seqeron.protocol.SystemFrame
An operator asking for one instance to be made active.
GATEWAY_ACTIVE - Static variable in class org.limitless.seqeron.protocol.SystemFrame
Synthesis-only.
GATEWAY_CONNECTIONS_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Connections a gateway instance holds open: taken and not yet closed, and 0 while it does not serve.
GATEWAY_REGISTERED - Static variable in class org.limitless.seqeron.protocol.SystemFrame
One row of the topology list, and its remaining is the completeness edge.
GATEWAY_STARTED - Static variable in class org.limitless.seqeron.protocol.SystemFrame
A gateway instance announcing itself, which binds its session to its gatewayId.
Gateway.Builder - Class in org.limitless.seqeron.app
Everything one instance needs to join its pair.
Gateway.Listener - Interface in org.limitless.seqeron.app
What a gateway does that this class cannot do for it.
GatewayActivationTimeout - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
A designated instance never declared itself started in time.
gatewayId() - Method in class org.limitless.seqeron.app.Gateway
This instance's list row, or Gateway.UNRESOLVED until a row names it.
gatewayId() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader.GatewayRow
Returns the value of the gatewayId record component.
gatewayName() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader.GatewayRow
Returns the value of the gatewayName record component.
gatewayName(String) - Method in class org.limitless.seqeron.app.Gateway.Builder
The GatewayRegistered row name this instance joins on.
GatewayPromotionFailed - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
A gateway session closed with no standby to promote, leaving that gateway with none active.
GatewayRow(int, int, String) - Constructor for record class org.limitless.seqeron.protocol.SnapshotHeader.GatewayRow
Creates an instance of a GatewayRow record class.
gatewaySourceId() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader.GatewayState
Returns the value of the gatewaySourceId record component.
GatewayState(int, int, int, List<SnapshotHeader.GatewayRow>) - Constructor for record class org.limitless.seqeron.protocol.SnapshotHeader.GatewayState
Creates an instance of a GatewayState record class.
Group(int, String) - Constructor for record class org.limitless.seqeron.protocol.SnapshotHeader.Group
Creates an instance of a Group record class.
GROUP_UNKNOWN - Enum constant in enum class org.limitless.seqeron.app.ClusterError
A group this instance addresses is not in the log's group table (A-9).
GroupDirectory - Class in org.limitless.seqeron.app
The log's group table, as a producer addresses it (spec A-9): a group's name to its bit of groupMask, and a groupId to its name.
groupId() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader.Group
Returns the value of the groupId record component.
groupId(int) - Method in class org.limitless.seqeron.app.Consumer.Builder
The group whose queue this consumer reads — required; the first topology's is 1.
groupMask() - Method in class org.limitless.seqeron.app.Payload
The groups whose queues carry it; a reply to it takes this mask (spec A-2, A-9).
groupMask() - Method in record class org.limitless.seqeron.app.ReplyAddress
Returns the value of the groupMask record component.
groupMask() - Method in class org.limitless.seqeron.protocol.SequencedFrameDecoder
The groups whose queues carry the frame (header.groupMask); 0 on a system frame (§7.4).
groupName() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader.Group
Returns the value of the groupName record component.
groups() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader
Returns the value of the groups record component.
GROUPS_REGISTERED - Static variable in class org.limitless.seqeron.protocol.SystemFrame
The topology file's group table; the first activates the groups.
groupSeqNo() - Method in class org.limitless.seqeron.app.Payload
This frame's place on this instance's queue, increasing by exactly one per frame.
groupSeqNo() - Method in class org.limitless.seqeron.protocol.SequencedFrameDecoder
This frame's place on its queue: 1 for the queue's first frame, increasing by exactly one per frame.

H

hashCode() - Method in record class org.limitless.seqeron.app.ReplyAddress
Returns a hash code value for this object.
hashCode() - Method in record class org.limitless.seqeron.app.Tuning
Returns a hash code value for this object.
hashCode() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader.GatewayRow
Returns a hash code value for this object.
hashCode() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader.GatewayState
Returns a hash code value for this object.
hashCode() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader.Group
Returns a hash code value for this object.
hashCode() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader
Returns a hash code value for this object.
hashCode() - Method in record class org.limitless.seqeron.util.Logger.LoggerEvent
Returns a hash code value for this object.
HEADER - Static variable in class org.limitless.seqeron.protocol.ProxyProtocol
The length of the MessageHeader that starts every message.
heartbeatNow() - Static method in class org.limitless.seqeron.protocol.ProxyProtocol
A heartbeat value: this process's monotonic clock in ms (§17.2.1).
highestConnectionId() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader.GatewayState
Returns the value of the highestConnectionId record component.
HOSTED_LAG_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
How far a hosted client trails its host: the host's last dispatched position less the client's applied one.
HOSTS - Static variable in class org.limitless.seqeron.protocol.PortLayout
The members' hosts from PortLayout.ENV_HOSTS, empty when it is unset.

I

IdleStrategies - Class in org.limitless.seqeron.util
The duty-cycle idle strategy a process names by system property.
idleStrategy(IdleStrategy) - Method in class org.limitless.seqeron.app.Application.Builder
What a call that blocks waits on between attempts: a publish that spins through an election, up to 10 s, and the cluster connect in start.
idleStrategy(IdleStrategy) - Method in class org.limitless.seqeron.app.Gateway.Builder
What a call that blocks waits on between attempts: a publish or a lifecycle frame that spins through an election, up to 10 s, and the cluster connect in start.
info(Logger.Component, Integer, String, Object...) - Static method in class org.limitless.seqeron.util.Logger
Logs routine status, at Logger.Severity.Info under Logger.CoreEventCode.Info.
Info - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
Routine status, with no anomaly of its own to identify.
Info - Enum constant in enum class org.limitless.seqeron.util.Logger.Severity
Routine status.
INGRESS_CONFIRM_FAULTED - Enum constant in enum class org.limitless.seqeron.app.ClusterError
An own frame came back differing from the oldest pending one, so what reached the log cannot be counted.
ingressBlockLength(int) - Static method in class org.limitless.seqeron.protocol.SystemFrame
The compiled BLOCK_LENGTH of the event systemEventType names, or SystemFrame.NOT_INGRESS_LEGAL if it is unallocated or synthesis-only: §9.2 conditions 8 and 9 in one lookup.
ingressEndpoint(int) - Static method in class org.limitless.seqeron.protocol.PortLayout
A member's cluster-ingress endpoint ("host:port").
ingressEndpoints() - Static method in class org.limitless.seqeron.protocol.PortLayout
The default endpoint set: the members PortLayout.HOSTS names, else a PortLayout.DEFAULT_MEMBER_COUNT-member cluster on PortLayout.DEFAULT_HOST.
ingressEndpoints(int) - Static method in class org.limitless.seqeron.protocol.PortLayout
The ingress endpoint set of a nodeCount-member cluster on PortLayout.DEFAULT_HOST, "0=host:9302,1=host:9312,…" — the form AeronCluster and clusterctl take, and the Java mirror of ports.sh's ingress_endpoints_string.
ingressEndpoints(String) - Method in class org.limitless.seqeron.app.Application.Builder
The members to reach when this node is not leading, PortLayout.ingressEndpoints() by default.
ingressEndpoints(String) - Method in class org.limitless.seqeron.app.Gateway.Builder
The members to reach, PortLayout.ingressEndpoints() by default.
ingressEndpoints(List<String>) - Static method in class org.limitless.seqeron.protocol.PortLayout
The ingress endpoint set of a cluster whose member i runs on hosts.get(i).
ingressPort(int) - Static method in class org.limitless.seqeron.protocol.PortLayout
That member's cluster-ingress port, where a producer submits over UDP.
IngressPublisher - Class in org.limitless.seqeron.sequencer.client
Encode-and-offer for cluster ingress — the Java twin of sequencer/client/IngressPublisher.hpp.
IngressPublisher() - Constructor for class org.limitless.seqeron.sequencer.client.IngressPublisher
A publisher that tracks nothing.
IngressPublisher(IngressTracker) - Constructor for class org.limitless.seqeron.sequencer.client.IngressPublisher
A publisher that tracks every frame it places with tracker, and sends nothing while it holds.
IngressSender - Interface in org.limitless.seqeron.sequencer.client
What IngressPublisher needs of a cluster session: place this frame, and say which session it belongs to.
IngressTracker - Interface in org.limitless.seqeron.sequencer.client
What IngressPublisher tells, and asks, about each frame it places, so a producer confirms its ingress on the queue without handling a frame itself; and what the sender tells, and asks, about a leader change.
install(Logger.LoggerSink) - Static method in class org.limitless.seqeron.util.Logger
Installs the sink every subsequent call forwards to.
IPC_CHANNEL - Static variable in class org.limitless.seqeron.protocol.ReplayProtocol
The whole protocol is node-local: a replica and its Replayer share one media driver.
ipcConnectTimeoutMs(long) - Method in class org.limitless.seqeron.app.Application.Builder
How long to wait for IPC ingress to the local member while it leads before using UDP, 500L ms by default.
isActivated() - Method in class org.limitless.seqeron.app.Gateway
Whether the last GatewayActive for this pair named this instance.
isCaughtUp() - Method in class org.limitless.seqeron.app.Application
 
isCaughtUp() - Method in class org.limitless.seqeron.app.Consumer
 
isCaughtUp() - Method in class org.limitless.seqeron.app.Gateway
 
isCaughtUp() - Method in class org.limitless.seqeron.replayer.client.ReplayerStreamReceiver
Whether this client is following the live tail; revoked on a queue gap or an eviction from the queue, re-established at the seam.
isClosed(long) - Method in class org.limitless.seqeron.sequencer.client.PendingSends
Whether the queue has shown clusterSessionId, the sender's own, closed.
isClusterPort(int) - Static method in class org.limitless.seqeron.protocol.PortLayout
Whether a port falls inside core's reservation, for a product checking its own bases.
isConnected() - Method in class org.limitless.seqeron.sequencer.client.ClusterStreamSender
Whether a session is open, or one whose leader moved away is being replaced.
isDispatched(K) - Method in class org.limitless.seqeron.app.OutstandingWork
Whether this request has been dispatched and not yet completed.
isFaulted() - Method in class org.limitless.seqeron.sequencer.client.PendingSends
Latched: the count can no longer be trusted, so fence the producer.
isFull() - Method in interface org.limitless.seqeron.sequencer.client.IngressTracker
Whether another frame can be tracked; one that cannot must not be sent.
isFull() - Method in class org.limitless.seqeron.sequencer.client.PendingSends
Check before sending: a frame that cannot be tracked must not be sent.
isHolding() - Method in interface org.limitless.seqeron.sequencer.client.IngressTracker
Whether frames from an earlier term may still need resending ahead of any new one.
isHolding() - Method in class org.limitless.seqeron.sequencer.client.PendingSends
Send nothing new while this holds: an older term's or session's frames are still unsettled or unresent.
isLeading() - Method in class org.limitless.seqeron.app.Application
Whether this replica may do leader-only work at all; Application.canPublish() is what a publish needs.
isReconnecting() - Method in class org.limitless.seqeron.sequencer.client.ClusterStreamSender
Whether ClusterStreamSender.reconnect() has an attempt under way, which only further calls advance.
isServing() - Method in class org.limitless.seqeron.app.Gateway
Whether the edge is open — Gateway.Listener.onActivated(int) has returned true and nothing has stood it down.
isSessionLost() - Method in class org.limitless.seqeron.sequencer.client.ClusterStreamSender
True once the cluster has closed this session, as opposed to never having opened one.
isSystem() - Method in class org.limitless.seqeron.protocol.SequencedFrameDecoder
Whether this frame is one of the six system templates; if so SequencedFrameDecoder.payloadId() means nothing.

K

keepAlive() - Method in class org.limitless.seqeron.app.Application
Tells the cluster this instance is alive.
keepAlive() - Method in class org.limitless.seqeron.app.Gateway
Tells the cluster this instance is alive.
keepAlive() - Method in class org.limitless.seqeron.sequencer.client.ClusterStreamSender
Sends a keep-alive if the interval has elapsed; call it every duty-cycle iteration.
KEY_CLIENT_ID_OFFSET - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Offset of the clientId in an app counter's key, so a node's several replicas render as separate series.
KEY_LENGTH - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Length of the key buffer written by SeqeronCounters.addCounter(io.aeron.Aeron, int, java.lang.String, int): one int, the memberId.
KEY_MEMBER_ID_OFFSET - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Offset of the memberId int within a counter's key buffer (see SeqeronCounters.addCounter(io.aeron.Aeron, int, java.lang.String, int)).

L

lastClusterSeqNo() - Method in class org.limitless.seqeron.app.Application
 
lastClusterSeqNo() - Method in class org.limitless.seqeron.app.Consumer
 
lastClusterSeqNo() - Method in class org.limitless.seqeron.app.Gateway
 
lastClusterSeqNo() - Method in class org.limitless.seqeron.replayer.client.ReplayerStreamReceiver
Highest clusterSeqNo dispatched in order, 0 before the first.
latestRound(long) - Method in class org.limitless.seqeron.replayer.client.SnapshotStore
The newest round below belowRound with a confirmed file, or -1.
leaderMemberId() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader
Returns the value of the leaderMemberId record component.
LEADERSHIP_CHANGED - Static variable in class org.limitless.seqeron.protocol.SystemFrame
Synthesis-only; LeadershipChangedEncoder.TEMPLATE_ID is the frame's, not this.
LeadershipHandler - Interface in org.limitless.seqeron.replayer.client
Receives each LeadershipChanged as it is dispatched, in log order.
leadershipTermId() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader
Returns the value of the leadershipTermId record component.
leadershipTermId() - Method in class org.limitless.seqeron.sequencer.client.ClusterStreamSender
AeronCluster moves its stamp only inside ClusterStreamSender.pollEgress(), which send polls between failed offers.
leadershipTermId() - Method in interface org.limitless.seqeron.sequencer.client.IngressSender
The leadership term ingress is stamped with, or -1 with no session.
length() - Method in class org.limitless.seqeron.replayer.client.SnapshotStore.Reader
The trailer's length.
listener(Application.Listener) - Method in class org.limitless.seqeron.app.Application.Builder
 
listener(Consumer.Listener) - Method in class org.limitless.seqeron.app.Consumer.Builder
 
listener(Gateway.Listener) - Method in class org.limitless.seqeron.app.Gateway.Builder
 
log(Logger.Component, Logger.Severity, Logger.EventCode, Integer, String, Object...) - Static method in class org.limitless.seqeron.util.Logger
The one call the others reach: formats args into format and hands the record to the installed sink.
log(Logger.Component, Logger.Severity, Logger.EventCode, String, Object...) - Static method in class org.limitless.seqeron.util.Logger
Logs with no member context, for a process that is not a cluster node.
Logger - Class in org.limitless.seqeron.util
Structured logging: call sites report a Logger.LoggerEvent to the installed Logger.LoggerSink.
Logger.Component - Interface in org.limitless.seqeron.util
A component name.
Logger.CoreComponent - Enum Class in org.limitless.seqeron.util
The components core itself logs as, each named after the class or process that reports.
Logger.CoreEventCode - Enum Class in org.limitless.seqeron.util
Core's anomaly classes: one per condition worth telling apart, plus Logger.CoreEventCode.Info for the routine lines that identify no anomaly at all.
Logger.EventCode - Interface in org.limitless.seqeron.util
An anomaly class, open the same way Logger.Component is.
Logger.LoggerEvent - Record Class in org.limitless.seqeron.util
One log record, as a sink receives it.
Logger.LoggerSink - Interface in org.limitless.seqeron.util
Where every log call lands.
Logger.Severity - Enum Class in org.limitless.seqeron.util
How bad it is.
LoggerEvent(Logger.Component, Logger.Severity, Logger.EventCode, Integer, String) - Constructor for record class org.limitless.seqeron.util.Logger.LoggerEvent
Creates an instance of a LoggerEvent record class.
logPort(int) - Static method in class org.limitless.seqeron.protocol.PortLayout
That member's log port, where it replicates the Raft log.

M

MalformedIngressMessage - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
An ingress message the sequencer would not sequence; clusterSeqNo does not move.
mask(String) - Method in class org.limitless.seqeron.app.GroupDirectory
A group's bit.
MAX_GROUPS - Static variable in class org.limitless.seqeron.protocol.FrameLayer
The width of groupMask: groupIds run 1 to 16.
MAX_INGRESS_LENGTH - Static variable in class org.limitless.seqeron.protocol.FrameLayer
Largest ingress frame: a full payload behind that framing — 8904 bytes.
MAX_PAYLOAD_LENGTH - Static variable in class org.limitless.seqeron.protocol.FrameLayer
Largest payload any frame may carry (T-2): an 8960-byte IPC MTU, one jumbo frame, less the 86 bytes of Aeron data header and sequenced envelope, so a queue whose MTU is that large never fragments.
MAX_RECORD_LENGTH - Static variable in class org.limitless.seqeron.protocol.SnapshotFormat
The most bytes one record holds: what its uint16 length prefix in the file can say.
MAX_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Last type id it owns; nothing outside SeqeronCounters.MIN_TYPE_ID..here is seqeron's.
memberId() - Method in record class org.limitless.seqeron.util.Logger.LoggerEvent
Returns the value of the memberId record component.
memberId(int) - Method in class org.limitless.seqeron.app.Application.Builder
The node this replica runs on: whose queue it follows, and whose leadership opens its gate.
memberId(int) - Method in class org.limitless.seqeron.app.Consumer.Builder
The node whose queue this consumer follows, or a gateway host's node id.
memberId(int) - Method in class org.limitless.seqeron.app.Gateway.Builder
The node whose queue this instance follows.
memberPortBase(int) - Static method in class org.limitless.seqeron.protocol.PortLayout
First port of one member's stride; the five below sit at fixed offsets from it.
message() - Method in record class org.limitless.seqeron.util.Logger.LoggerEvent
Returns the value of the message record component.
MIN_INGRESS_LENGTH - Static variable in class org.limitless.seqeron.protocol.FrameLayer
Smallest ingress frame of either family, 30 bytes: framing header, 20-byte header composite and the payload's 2-byte length prefix.
MIN_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
First type id this class owns, for a typeId-range scan (see clusterctl counters).
missing() - Method in class org.limitless.seqeron.sequencer.client.PendingSends
Pending frames a leader change or a closed session has lost, oldest first at the front.
monotonicMs() - Static method in class org.limitless.seqeron.util.Clocks
Elapsed milliseconds from an arbitrary origin, for measuring durations.

N

name() - Method in interface org.limitless.seqeron.util.Logger.Component
The tag this component prints under; an enum constant's own name.
name() - Method in interface org.limitless.seqeron.util.Logger.EventCode
The code as it appears in a log line or a metric label.
name(int) - Method in class org.limitless.seqeron.app.GroupDirectory
A group's name, to label it.
next(UnsafeBuffer) - Method in class org.limitless.seqeron.replayer.client.SnapshotStore.Reader
Points view at the next record, valid until the next call.
NO_ATTACH - Static variable in class org.limitless.seqeron.protocol.ProxyProtocol
Attached.eventSessionId of a refused attach.
NO_CONNECTION - Static variable in class org.limitless.seqeron.app.Gateway
A frame that belongs to the gateway rather than to one of its connections, and what Gateway.openConnection(org.agrona.DirectBuffer, int) answers when there is none to give.
NO_CUT - Static variable in class org.limitless.seqeron.protocol.ReplayProtocol
ReplayRequest.cutClusterSeqNo of a request that is not a snapshot restore's.
NO_GATEWAY - Static variable in record class org.limitless.seqeron.protocol.SnapshotHeader
No GatewayActive yet.
NO_REPLAY_NEEDED - Static variable in class org.limitless.seqeron.protocol.ReplayProtocol
Answer to a resume request the Replayer refuses, or one that needs no replay at all.
NO_SOURCE_ID - Static variable in class org.limitless.seqeron.protocol.ReplayProtocol
QueueRequest.sourceId naming no application.
NOT_INGRESS_LEGAL - Static variable in class org.limitless.seqeron.protocol.SystemFrame
SystemFrame.ingressBlockLength(int)'s answer for a systemEventType that may not be submitted.

O

offCluster(boolean) - Method in class org.limitless.seqeron.app.Application.Builder
Whether this node is a gateway host, running no member, rather than a member: the gate then opens whoever leads, and ingress is UDP alone.
onActivated(int) - Method in interface org.limitless.seqeron.app.Gateway.Listener
This instance has been designated, has announced itself and may now serve: open the edge.
onCaughtUp() - Method in interface org.limitless.seqeron.replayer.client.CaughtUpHandler
Called when the receiver reaches the live queue, and again after each gap it heals.
onCaughtUp(long) - Method in interface org.limitless.seqeron.app.Application.Listener
Every transition to caught-up, the first included.
onCaughtUp(long) - Method in interface org.limitless.seqeron.app.Consumer.Listener
Every transition to caught-up, the first included.
onCaughtUp(long) - Method in interface org.limitless.seqeron.app.Gateway.Listener
Every transition to caught-up, the first included.
onClusterHeartbeat(long, long) - Method in interface org.limitless.seqeron.app.Application.Listener
The cluster clock's tick (spec §7), once a second.
onClusterHeartbeat(long, long) - Method in interface org.limitless.seqeron.app.Consumer.Listener
The cluster clock's tick (spec §7), once a second.
onClusterHeartbeat(long, long) - Method in interface org.limitless.seqeron.app.Gateway.Listener
The cluster clock's tick (spec §7), once a second.
onConnectionClosed(int) - Method in interface org.limitless.seqeron.app.Gateway.Listener
That connection has gone.
onConnectionOpened(int, DirectBuffer, int, int) - Method in interface org.limitless.seqeron.app.Gateway.Listener
This logical gateway took a connection, whichever instance issued it.
onFenced(ClusterError, String) - Method in interface org.limitless.seqeron.app.Application.Listener
Once, latched: this replica may no longer act.
onFenced(ClusterError, String) - Method in interface org.limitless.seqeron.app.Consumer.Listener
Once, latched: this consumer may no longer be trusted to see the queue.
onFenced(ClusterError, String) - Method in interface org.limitless.seqeron.app.Gateway.Listener
Once, latched: the cluster session is already released, so a standby takes over.
onGroupsResolved(GroupDirectory) - Method in interface org.limitless.seqeron.app.Application.Listener
The log's group table, once, before the gate first opens: what Application.publish(int, int, DirectBuffer, int) takes its masks from.
onGroupsResolved(GroupDirectory) - Method in interface org.limitless.seqeron.app.Gateway.Listener
The log's group table, once, before the first Gateway.Listener.onActivated(int): what Gateway.publish(int, int, int, DirectBuffer, int) takes its masks from.
onLeadershipChanged(boolean) - Method in interface org.limitless.seqeron.app.Application.Listener
The leader gate crossed an edge: true when this replica may do leader-only work — caught up, and its own node leads, or off the cluster caught up alone — false when it may not.
onLeadershipChanged(int, long, long) - Method in interface org.limitless.seqeron.replayer.client.LeadershipHandler
Called once per term, whether or not the leader changed with it.
onLeadershipChanged(long) - Method in class org.limitless.seqeron.sequencer.client.PendingSends
From the stream client's leadership callback: closes the count on every earlier term.
onNewLeader(long) - Method in interface org.limitless.seqeron.sequencer.client.IngressTracker
Egress named a new leader, for this term.
onNewLeader(long) - Method in class org.limitless.seqeron.sequencer.client.PendingSends
From the sender, which calls it on every NewLeader.
onNotLeader() - Method in class org.limitless.seqeron.app.OutstandingWork
The leader gate closed: forget what this node dispatched, so the next opening re-dispatches it.
onReply(K) - Method in class org.limitless.seqeron.app.OutstandingWork
Its sequenced reply, on every replica: the request is answered.
onReplyNotEmitted(K) - Method in class org.limitless.seqeron.app.OutstandingWork
The reply offer failed, so no sequenced reply will come.
onRequest(K, W) - Method in class org.limitless.seqeron.app.OutstandingWork
A request seen on the sequenced stream, on every replica.
onRestore(DirectBuffer, int, int, int) - Method in interface org.limitless.seqeron.app.SnapshotListener
Decodes the next record of the snapshot this instance restores from, in the order SnapshotListener.onSnapshot(org.agrona.MutableDirectBuffer, int) encoded them, before any frame after its cut is dispatched.
onSequenced(Payload) - Method in interface org.limitless.seqeron.app.Application.Listener
One application payload off this node's queue, in clusterSeqNo order.
onSequenced(Payload) - Method in interface org.limitless.seqeron.app.Consumer.Listener
One application payload off the queue, in clusterSeqNo order.
onSequenced(Payload) - Method in interface org.limitless.seqeron.app.Gateway.Listener
One application payload off this node's queue, in clusterSeqNo order.
onSequenced(SequencedEvent) - Method in interface org.limitless.seqeron.replayer.client.SequencedHandler
Called once per frame, in clusterSeqNo order.
onSequenced(SequencedEvent) - Method in class org.limitless.seqeron.sequencer.client.PendingSends
Every frame off the queue, in order.
onSnapshot(MutableDirectBuffer, int) - Method in interface org.limitless.seqeron.app.SnapshotListener
Encodes the next record of this instance's state as of the round's cut — every frame up to the SnapshotStarted dispatched, none after.
onSnapshotHeader(SnapshotHeader) - Method in interface org.limitless.seqeron.replayer.client.SnapshotRestoreHandler
Record 0, the façade's; the first call of each restore.
onSnapshotRecord(DirectBuffer, int, int, long) - Method in interface org.limitless.seqeron.replayer.client.SnapshotRestoreHandler
One of the source's own records, in order.
onSnapshotRound(long, long) - Method in interface org.limitless.seqeron.replayer.client.ReplayerStreamReceiver.SnapshotRoundHandler
 
onSnapshotRound(ReplayerStreamReceiver.SnapshotRoundHandler) - Method in class org.limitless.seqeron.replayer.client.ReplayerStreamReceiver
Hands each SnapshotRound the Replayer sends to handler; none is delivered without one.
onStandby() - Method in interface org.limitless.seqeron.app.Gateway.Listener
Stand down: close the edge and drop every connection it let in.
open(long) - Method in class org.limitless.seqeron.replayer.client.SnapshotStore
Opens a round's file to read its records.
openConnection() - Method in class org.limitless.seqeron.app.Gateway
The same for a connection whose only identity is its id.
openConnection(DirectBuffer, int) - Method in class org.limitless.seqeron.app.Gateway
Takes one connection into the cluster's view of this gateway: allocates its id from the resume point and adds its ConnectionOpened to the backlog that Gateway.doWork() places and retries.
org.limitless.seqeron.app - package org.limitless.seqeron.app
The client application interface.
org.limitless.seqeron.protocol - package org.limitless.seqeron.protocol
The wire contract in code, shared by the client tier and the service tier.
org.limitless.seqeron.replayer.client - package org.limitless.seqeron.replayer.client
Consuming the ordered stream: the client side of the replay protocol.
org.limitless.seqeron.sequencer.client - package org.limitless.seqeron.sequencer.client
Producing: the cluster session and the encode-and-offer above it.
org.limitless.seqeron.util - package org.limitless.seqeron.util
Support code, not what seqeron offers.
outstandingWork(OutstandingWork<?, ?>) - Method in class org.limitless.seqeron.app.Application.Builder
The tracker of this application's leader-only work.
OutstandingWork<K,W> - Class in org.limitless.seqeron.app
Leader-only request/reply work tracked across a failover.
OutstandingWork() - Constructor for class org.limitless.seqeron.app.OutstandingWork
A tracker holding no work.
OutstandingWork.Dispatcher<K,W> - Interface in org.limitless.seqeron.app
Takes one request; must not call back into the tracker.

P

parseHosts(String) - Static method in class org.limitless.seqeron.protocol.PortLayout
Parses a cluster's host list, "h0,h1,h2": member i runs on entry i.
Payload - Class in org.limitless.seqeron.app
One application payload delivered in order, with the frame layer off it: the envelope is stripped, and Payload.bodyOffset() strips the payload's own MessageHeader too, which is where an SBE decoder wraps.
PAYLOAD_ID_REGISTERED - Static variable in class org.limitless.seqeron.protocol.SystemFrame
One payloadId's name in this deployment; labelling only.
payloadId() - Method in class org.limitless.seqeron.app.Payload
Which protocol the body speaks (spec §13).
payloadId() - Method in class org.limitless.seqeron.protocol.SequencedFrameDecoder
Which protocol SequencedFrameDecoder.templateId() belongs to; 0 on a system frame.
payloadLength() - Method in class org.limitless.seqeron.app.Payload
The payload's length from Payload.payloadOffset().
payloadLength() - Method in class org.limitless.seqeron.protocol.SequencedFrameDecoder
Length in bytes of what SequencedFrameDecoder.payloadOffset() addresses; the envelope is not in it.
payloadOffset() - Method in class org.limitless.seqeron.app.Payload
Where the payload starts: past the envelope, its own MessageHeader included if it has one.
payloadOffset() - Method in class org.limitless.seqeron.protocol.SequencedFrameDecoder
Offset within SequencedFrameDecoder.buffer() of what a consumer decodes: the payload, its own 8-byte MessageHeader included, on an application frame; the payload on a submitted system frame; the frame's own block on one of the synthesized five.
pendingCapacity() - Method in record class org.limitless.seqeron.app.Tuning
Returns the value of the pendingCapacity record component.
PendingSends - Class in org.limitless.seqeron.sequencer.client
A producer's ingress frames that its own queue has not yet shown, which of them a leader change or a closed session lost, and their resend ahead of anything new.
PendingSends(int) - Constructor for class org.limitless.seqeron.sequencer.client.PendingSends
A tracker holding nothing, for one producer's own sends.
poll() - Method in class org.limitless.seqeron.replayer.client.ReplayerStreamReceiver
One duty-cycle iteration: drain control, ride an attached replay image, and always drain and dispatch the queue — ReplayerRecovery's contiguity check, not the poll routing, decides what a queue frame is worth mid-walk.
pollEgress() - Method in class org.limitless.seqeron.sequencer.client.ClusterStreamSender
Drains cluster egress, then applies any reconnect it called for, outside the poll.
PortLayout - Class in org.limitless.seqeron.protocol
The cluster port-layout formula — the Java twin of protocol/PortLayout.hpp and ports.sh; SequencerServerTest and PortLayoutTest pin the same pairs.
position() - Method in class org.limitless.seqeron.app.Payload
Where this frame's first byte sits in the node's recording — a delivery stamp too, and what a consumer that replays that recording itself (a FIX gateway serving its own resend) anchors on.
position() - Method in class org.limitless.seqeron.replayer.client.SequencedEvent
Recording/stream position of this frame's first byte — what a resumed replay is anchored on.
preferenceRank() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader.GatewayRow
Returns the value of the preferenceRank record component.
PROTOCOL_VERSION - Static variable in class org.limitless.seqeron.protocol.ProxyProtocol
Attach.protocolVersion.
PROXY_CLIENT_APPLIED_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
The position of the last payload a client applied, written by the client.
PROXY_CLIENT_HEARTBEAT_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
A client's monotonic clock in ms, written by the client every duty cycle; the proxy judges the client by it.
PROXY_HEARTBEAT_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
A proxy's monotonic clock in ms, written by the proxy every duty cycle; the client judges the proxy by it.
PROXY_RETIRED_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Total encoded length of the windowed commands that have left the proxy's queue, placed or dropped.
PROXY_TYPE_ID_MAX - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Last type id of the proxy's block.
PROXY_TYPE_ID_MIN - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
First type id of the proxy's block.
ProxyProtocol - Class in org.limitless.seqeron.protocol
What a ClientProxy and its client share (doc/seqeron-protocol-spec.md §17.2, §17.7): schema 218 on four aeron:ipc streams, and the heartbeat both write.
publish(int, int, int, DirectBuffer, int) - Method in class org.limitless.seqeron.app.Gateway
The same to the groups groupMask names as well as its own.
publish(int, int, DirectBuffer, int) - Method in class org.limitless.seqeron.app.Application
The same to the groups groupMask names as well as its own.
publish(int, int, DirectBuffer, int) - Method in class org.limitless.seqeron.app.Gateway
Submits one application payload on a connection to this gateway's own group, stamped with its sourceId.
publish(int, DirectBuffer, int) - Method in class org.limitless.seqeron.app.Application
Submits one payload of this application's own to its own group, stamped with its sourceId and belonging to no connection.
Publish - Enum Class in org.limitless.seqeron.protocol
What a publish did.
Published - Enum constant in enum class org.limitless.seqeron.protocol.Publish
The frame was offered, and tracked if a tracker was given.
publishPayload(IngressSender, int, int, int, int, DirectBuffer, int) - Method in class org.limitless.seqeron.sequencer.client.IngressPublisher
Wraps one application payload in an Unsequenced frame and offers it.
publishSystem(IngressSender, int, int, int, DirectBuffer, int) - Method in class org.limitless.seqeron.sequencer.client.IngressPublisher
The same for one of seqeron's own events (doc/seqeron-protocol-spec.md §7), in an UnsequencedSystem frame.

Q

QUEUE_CHANNEL - Static variable in class org.limitless.seqeron.protocol.FrameLayer
The queue: the node-local IPC stream every node republishes each sequenced frame on, in clusterSeqNo order, and records into its own archive.
QUEUE_CONSUMER_CHANNEL - Static variable in class org.limitless.seqeron.replayer.client.ReplayerStreamReceiver
The queue as a consumer addresses it: untethered, so a slow app is dropped and heals via replay.
QUEUE_STALLED - Enum constant in enum class org.limitless.seqeron.app.ClusterError
No ClusterHeartbeat for the deadline: this process has stopped seeing its node's queue.
QUEUE_STREAM_ID_BASE - Static variable in class org.limitless.seqeron.protocol.FrameLayer
Group groupId's queue is stream QUEUE_STREAM_ID_BASE + groupId.
QueueBackpressure - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
A queue offer back-pressured; the sequencer spins rather than drop the frame.
QueueGap - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
The live queue skipped a clusterSeqNo; recovery replays the hole.
QueueRecordingFailure - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
This node can no longer record the history it is responsible for.
QueueRelay - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreComponent
On a gateway host, the relay that copies a member's queue onto the local one.
QueueStalled - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
The queue has carried no ClusterHeartbeat for longer than its deadline.
queueStallTimeoutMs() - Method in record class org.limitless.seqeron.app.Tuning
Returns the value of the queueStallTimeoutMs record component.
queueStreamId(int) - Static method in class org.limitless.seqeron.protocol.FrameLayer
 
QueueUnresolved - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
A replayer could not tell an instance which queue it reads; the instance waits until it can.

R

receiveTimeNs() - Method in class org.limitless.seqeron.app.Payload
When this process read it — a delivery stamp, not the frame's.
receiveTimeNs() - Method in class org.limitless.seqeron.replayer.client.SequencedEvent
Wall-clock ns at receipt by this client.
reconnect() - Method in class org.limitless.seqeron.sequencer.client.ClusterStreamSender
Replaces a lost session with a new one, opened as the first was but one step per call, so the caller's duty cycle never waits on an unreachable cluster.
record(Logger.LoggerEvent) - Method in interface org.limitless.seqeron.util.Logger.LoggerSink
Called on the reporting thread, in call order; a sink that blocks stalls a duty cycle.
recordCount() - Method in class org.limitless.seqeron.replayer.client.SnapshotStore.Reader
The trailer's recordCount.
RECOVERY_STALLED - Enum constant in enum class org.limitless.seqeron.app.ClusterError
Recovery has dispatched nothing for the deadline, on an instance that had caught up before; only a designated gateway instance or the leader's replica fences, any other logs it.
RecoveryStalled - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
Recovery has dispatched nothing for longer than its deadline.
recoveryStallTimeoutMs() - Method in record class org.limitless.seqeron.app.Tuning
Returns the value of the recoveryStallTimeoutMs record component.
Refused - Enum constant in enum class org.limitless.seqeron.protocol.Publish
Nothing was offered and retrying cannot help.
REFUSED - Static variable in class org.limitless.seqeron.protocol.SystemFrame
Returned instead of a length when the payload is above FrameLayer.MAX_PAYLOAD_LENGTH, or the frame breaks §9.2 conditions 6 to 9 — the checks a producer can make without the sequencer's state, so a frame the sequencer would drop is never sent (T-3).
RelaySourceLost - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
A gateway host's relay stopped reading one member's archive and moved to the next.
REPLAY_STREAM_ID - Static variable in class org.limitless.seqeron.protocol.ReplayProtocol
ReplayerService → apps: on-demand archive replays (one Aeron session per in-flight replay).
ReplayDutyCycleFailure - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
The Replayer's duty cycle failed — typically its media driver going away.
REPLAYER_ACTIVE_SLOTS_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Current count of in-flight replays, out of MAX_CONCURRENT_REPLAYS.
REPLAYER_ARCHIVE_ERRORS_COUNT_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Count of local-archive calls that threw (live delivery is unaffected).
REPLAYER_CONTROL_REPLIES_DROPPED_COUNT_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Count of control replies dropped because an app stopped draining the control stream; each costs that app one resend interval.
REPLAYER_PENDING_REQUESTS_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Current count of replay requests waiting for a free slot.
REPLAYER_READY_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
1 once the co-located queue recording is visible and replay requests are being served, else 0.
REPLAYER_REPLAYS_SERVED_COUNT_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Count of replays started (archive.startReplay) since this node came up.
REPLAYER_THROTTLED_REQUESTS_COUNT_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Count of replay requests held pending only because the queue recording trailed the queue while a replay ran, resends included: a held client resends about every 500 ms.
REPLAYER_TYPE_ID_MAX - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Last type id of the Replayer's block.
REPLAYER_TYPE_ID_MIN - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
First type id of the Replayer's block.
ReplayerServer - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreComponent
The replay server: inside a member's SequencerServer, or a gateway host's own process.
ReplayerService - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreComponent
That server's duty cycle.
ReplayerStreamReceiver - Class in org.limitless.seqeron.replayer.client
App-replica side of the per-node ReplayerService — the Java twin of replayer/client/ReplayerStreamReceiver.hpp.
ReplayerStreamReceiver - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreComponent
The client-side receiver, reporting from inside a consumer's replica.
ReplayerStreamReceiver(int, SequencedHandler, LeadershipHandler, CaughtUpHandler) - Constructor for class org.limitless.seqeron.replayer.client.ReplayerStreamReceiver
A receiver that injects no queue faults.
ReplayerStreamReceiver(int, SequencedHandler, LeadershipHandler, CaughtUpHandler, BooleanSupplier) - Constructor for class org.limitless.seqeron.replayer.client.ReplayerStreamReceiver
As above, dropping a live queue frame whenever queueFaults answers true.
ReplayerStreamReceiver(int, SequencedHandler, LeadershipHandler, CaughtUpHandler, BooleanSupplier, BooleanSupplier, LongPredicate) - Constructor for class org.limitless.seqeron.replayer.client.ReplayerStreamReceiver
As above, also dropping a Replayer reply whenever controlFaults answers true, and a replay frame whenever replayFaults does.
ReplayerStreamReceiver.SnapshotRoundHandler - Interface in org.limitless.seqeron.replayer.client
What a cut round is told to: the Replayer says a round was cut, to every replica (doc/snapshot.md §10.8).
ReplayProtocol - Class in org.limitless.seqeron.protocol
The replay protocol's addresses, shared by the Replayer and its co-located clients.
reply(ReplyAddress, int, DirectBuffer, int) - Method in class org.limitless.seqeron.app.Application
The same on behalf of the producer that asked for it: a reply carries the requester's sourceId, connectionId and groupMask, which is how the gateway that took the request routes the answer back out of it, and how every group that saw the request sees the answer.
replyAddress() - Method in class org.limitless.seqeron.app.Payload
The address a later Application.reply(org.limitless.seqeron.app.ReplyAddress, int, org.agrona.DirectBuffer, int) takes; unlike this payload, it outlives the callback.
ReplyAddress - Record Class in org.limitless.seqeron.app
What a reply needs of the request it answers: the requester's sourceId, connectionId and groupMask.
ReplyAddress(int, int, int) - Constructor for record class org.limitless.seqeron.app.ReplyAddress
Creates an instance of a ReplyAddress record class.
REQUEST_STREAM_ID - Static variable in class org.limitless.seqeron.protocol.ReplayProtocol
Apps → ReplayerService: ReplayRequest / QueueRequest.
resendMissing(IngressSender) - Method in class org.limitless.seqeron.sequencer.client.PendingSends
Resends the missing frames oldest first, each going back to the end of the ring as pending under the term and session it now carries.
reset() - Static method in class org.limitless.seqeron.util.Logger
Restores the default sink, which prints to stderr.
restoreFailure() - Method in class org.limitless.seqeron.replayer.client.ReplayerStreamReceiver
restoreFrom(SnapshotStore, SnapshotRestoreHandler) - Method in class org.limitless.seqeron.replayer.client.ReplayerStreamReceiver
Restores the newest snapshot in store on ReplayerStreamReceiver.start(io.aeron.Aeron, int, int), before anything is dispatched, once a replay shows the log holds its cut (doc/snapshot.md §7).
rows() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader.GatewayState
Returns the value of the rows record component.

S

SCHEMA_ID - Static variable in class org.limitless.seqeron.protocol.ProxyProtocol
The schema id of the MessageHeader on all four streams.
send(DirectBuffer, int) - Method in class org.limitless.seqeron.sequencer.client.ClusterStreamSender
Offers one pre-encoded frame to cluster ingress, spinning until it lands.
send(DirectBuffer, int) - Method in interface org.limitless.seqeron.sequencer.client.IngressSender
Offers one pre-encoded frame to cluster ingress.
sendSnapshotConfirmed(int, long) - Method in class org.limitless.seqeron.replayer.client.ReplayerStreamReceiver
Tells the Replayer this replica's file for round is durable under its name.
sendSnapshotJoined(int, long) - Method in class org.limitless.seqeron.replayer.client.ReplayerStreamReceiver
Tells the Replayer this replica takes part in round.
SeqeronCounters - Class in org.limitless.seqeron.protocol
Registry of seqeron's custom Aeron counter type ids (Aeron reserves 0-999).
SequencedEvent - Class in org.limitless.seqeron.replayer.client
One frame delivered in order off the sequenced stream, live or replayed — the Java twin of the C++ SequencedEvent in protocol/SequencedFrame.hpp.
SequencedFrameDecoder - Class in org.limitless.seqeron.protocol
One frame off the queue with the envelope stripped — the Java twin of FrameView in protocol/SequencedFrame.hpp; keep the two in step.
SequencedFrameDecoder() - Constructor for class org.limitless.seqeron.protocol.SequencedFrameDecoder
A decoder holding no frame; SequencedFrameDecoder.wrap(org.agrona.DirectBuffer, int, int) points it at one.
SequencedHandler - Interface in org.limitless.seqeron.replayer.client
Receives every in-order frame that is not intercepted as a leadership change.
Sequencer - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreComponent
The replicated state machine.
SEQUENCER_BOOTSTRAP_ACTIVATED_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
1 once the bootstrap GatewayActive has been emitted in this cluster's log, else 0.
SEQUENCER_CLUSTER_SEQ_NO_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Mirrors Sequencer.clusterSeqNo() — the last clusterSeqNo emitted on this node's queue.
SEQUENCER_CURRENT_LEADER_MEMBER_ID_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
memberId of the leader last recorded by this node's Sequencer.
SEQUENCER_GATEWAY_PROMOTION_COUNT_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Count of standby-promotion GatewayActive frames emitted on a gateway session close.
SEQUENCER_GATEWAY_PROMOTION_FAILED_COUNT_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Count of gateway session closes that found no standby to promote, leaving that gateway with none active.
SEQUENCER_INGRESS_MESSAGES_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Count of ingress messages successfully sequenced; rate() over this is ingress throughput.
SEQUENCER_LAST_CLUSTER_HEARTBEAT_TIMESTAMP_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Consensus timestamp of the last 1 Hz ClusterHeartbeat emitted.
SEQUENCER_LEADERSHIP_CHANGE_COUNT_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Count of leadership changes this node has observed and sequenced.
SEQUENCER_QUEUE_BACKPRESSURE_ALERTS_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Count of times the queue-emit back-pressure alert threshold has fired.
SEQUENCER_QUEUE_STALLED_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
1 while queue back-pressure has lasted past the stall threshold with no recording progress, else 0.
SEQUENCER_REJECTED_INGRESS_COUNT_TYPE_ID - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Count of malformed ingress messages skipped by Sequencer.sequenceMessage.
SEQUENCER_TYPE_ID_MAX - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
Last type id of the sequencer's block.
SEQUENCER_TYPE_ID_MIN - Static variable in class org.limitless.seqeron.protocol.SeqeronCounters
First type id of the sequencer's block.
SequencerServer - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreComponent
The node process.
SequencerService - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreComponent
The sequencer's Aeron Cluster adapter.
ServiceError - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
The clustered service raised one.
SESSION_CLOSED - Static variable in class org.limitless.seqeron.protocol.SystemFrame
Synthesis-only; SessionClosedEncoder.TEMPLATE_ID is the frame's, not this.
sessionChannel(int) - Static method in class org.limitless.seqeron.protocol.ProxyProtocol
A reader's subscription to the other end's per-attachment stream (H-15).
setIngressHold(IngressTracker) - Method in class org.limitless.seqeron.sequencer.client.ClusterStreamSender
Hears every NewLeader, and gives up a send that met one while it holds.
severity() - Method in record class org.limitless.seqeron.util.Logger.LoggerEvent
Returns the value of the severity record component.
ShutdownTimeout - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
A duty-cycle thread outlived the deadline for stopping, and is being left behind.
size() - Method in class org.limitless.seqeron.app.OutstandingWork
Requests held, dispatched or not.
size() - Method in class org.limitless.seqeron.sequencer.client.PendingSends
Frames tracked and not yet seen on the queue, missing ones included.
SNAPSHOT_DIVERGED - Enum constant in enum class org.limitless.seqeron.app.ClusterError
This instance's snapshot of a round differs from its source's sequenced one: its state is not the log's (A-7).
SNAPSHOT_END - Static variable in class org.limitless.seqeron.protocol.SystemFrame
A source's snapshot of one round: its digest, the bytes staying with each instance.
SNAPSHOT_POLICY_REGISTERED - Static variable in class org.limitless.seqeron.protocol.SystemFrame
The topology file's snapshot policy.
SNAPSHOT_REQUESTED - Static variable in class org.limitless.seqeron.protocol.SystemFrame
An operator asking for a snapshot round.
SNAPSHOT_STARTED - Static variable in class org.limitless.seqeron.protocol.SystemFrame
Synthesis-only; SnapshotStartedEncoder.TEMPLATE_ID is the frame's, not this.
SNAPSHOT_UNRESTORABLE - Enum constant in enum class org.limitless.seqeron.app.ClusterError
This instance has a snapshot it cannot restore: a format or header version this build does not read, or a file whose records fail the SnapshotEnd the log holds for them.
SnapshotFormat - Class in org.limitless.seqeron.protocol
What a snapshot is (doc/snapshot.md §2): a sequence of records, the façade's header first, checked by the CRC-32C of their bytes in order that its SnapshotEnd carries.
SnapshotHeader - Record Class in org.limitless.seqeron.protocol
The header a façade writes ahead of the application's body: what it derives from frames before the round's cut, which a restore never replays (doc/snapshot.md §6).
SnapshotHeader(long, int, List<SnapshotHeader.Group>, SnapshotHeader.GatewayState) - Constructor for record class org.limitless.seqeron.protocol.SnapshotHeader
Creates an instance of a SnapshotHeader record class.
SnapshotHeader.GatewayRow - Record Class in org.limitless.seqeron.protocol
One instance's list row.
SnapshotHeader.GatewayState - Record Class in org.limitless.seqeron.protocol
A gateway's continuation.
SnapshotHeader.Group - Record Class in org.limitless.seqeron.protocol
One active group.
SnapshotListener - Interface in org.limitless.seqeron.app
What a source that takes part in snapshot rounds serializes, and restores from (doc/snapshot.md §4, §7).
SnapshotRestoreFailed - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
A source's latest snapshot cannot be restored, so its instance cannot recover.
SnapshotRestoreHandler - Interface in org.limitless.seqeron.replayer.client
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).
snapshots(SnapshotListener, Path) - Method in class org.limitless.seqeron.app.Application.Builder
Takes this replica into snapshot rounds; without it it takes part in none, whatever its topology row says, and recovers from clusterSeqNo 1.
snapshots(SnapshotListener, Path) - Method in class org.limitless.seqeron.app.Gateway.Builder
Takes this instance into snapshot rounds; without it it takes part in none, whatever its rows say, and recovers from clusterSeqNo 1.
SnapshotStore - Class in org.limitless.seqeron.replayer.client
This instance's own snapshots, in a directory no other instance writes (doc/snapshot.md §4.1).
SnapshotStore(Path) - Constructor for class org.limitless.seqeron.replayer.client.SnapshotStore
 
SnapshotStore.Reader - Class in org.limitless.seqeron.replayer.client
One round's file, read record by record, its trailer known before the first.
SnapshotStoreFailed - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
This instance could not write or read a snapshot file of its own; it has no copy of that round.
sourceId() - Method in class org.limitless.seqeron.app.Application
This replica's own sourceId, the one its topology row gives it.
sourceId() - Method in class org.limitless.seqeron.app.Gateway
This logical gateway's sourceId, shared with its standby; Gateway.UNRESOLVED until a GatewayRegistered row names it.
sourceId() - Method in class org.limitless.seqeron.app.Payload
The producer that submitted this frame (spec §5).
sourceId() - Method in record class org.limitless.seqeron.app.ReplyAddress
Returns the value of the sourceId record component.
sourceId() - Method in class org.limitless.seqeron.protocol.SequencedFrameDecoder
Publishing producer process (header.sourceId); −1 on a frame the cluster synthesized.
sourceId(int) - Method in class org.limitless.seqeron.app.Application.Builder
This application's sourceId, the one its <applications> row declares — required, because spec §5 is one id space, and never −1, which ingress refuses.
sourceId(int) - Method in class org.limitless.seqeron.app.Gateway.Builder
The logical gateway's sourceId, the one its rows declare.
sourceSessionId() - Method in class org.limitless.seqeron.app.Payload
The cluster session it was submitted on; a gateway pair shares its sourceId but not this.
sourceSessionId() - Method in class org.limitless.seqeron.protocol.SequencedFrameDecoder
Cluster session the frame was submitted on (header.sessionId), as the sequencer stamped it.
StaleActiveRecording - Enum constant in enum class org.limitless.seqeron.util.Logger.CoreEventCode
An older recording still reports as recording, which an unclean shutdown leaves behind.
start(Aeron) - Method in class org.limitless.seqeron.app.Application
Opens the cluster session on this node and starts following its queue; the gate stays shut until caught up.
start(Aeron) - Method in class org.limitless.seqeron.app.Consumer
Starts following the group's queue on this node; the Aeron client is the caller's.
start(Aeron) - Method in class org.limitless.seqeron.app.Gateway
Opens the cluster session and starts following this node's queue; the gate stays shut until designated.
start(Aeron, int, int) - Method in class org.limitless.seqeron.replayer.client.ReplayerStreamReceiver
Subscribes the queue of groupId and the control stream, opens the request publication and the convergence counter, and requests the cold-start replay from the recording's start, or the snapshot to restore first.
supportsFormatVersion(int) - Method in interface org.limitless.seqeron.app.SnapshotListener
supportsFormatVersion(long) - Method in interface org.limitless.seqeron.replayer.client.SnapshotRestoreHandler
Whether this build reads records of formatVersion; a snapshot it does not read stops the restore.
systemEventType() - Method in class org.limitless.seqeron.protocol.SequencedFrameDecoder
Which of §7's seventeen events this frame carries; 0 on an application frame.
SystemFrame - Class in org.limitless.seqeron.protocol
The ingress side of the frame layer: wraps an already-encoded payload in its family's envelope and returns the length; the offer is the caller's.
SystemFrame() - Constructor for class org.limitless.seqeron.protocol.SystemFrame
One per producing thread.

T

templateId() - Method in class org.limitless.seqeron.app.Payload
The body's own template within that protocol.
templateId() - Method in class org.limitless.seqeron.protocol.SequencedFrameDecoder
The payload's own templateId, never the envelope's; 0 on a system frame.
toString() - Method in record class org.limitless.seqeron.app.ReplyAddress
Returns a string representation of this record class.
toString() - Method in record class org.limitless.seqeron.app.Tuning
Returns a string representation of this record class.
toString() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader.GatewayRow
Returns a string representation of this record class.
toString() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader.GatewayState
Returns a string representation of this record class.
toString() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader.Group
Returns a string representation of this record class.
toString() - Method in record class org.limitless.seqeron.protocol.SnapshotHeader
Returns a string representation of this record class.
toString() - Method in record class org.limitless.seqeron.util.Logger.LoggerEvent
Returns a string representation of this record class.
track(DirectBuffer, int, long, long) - Method in interface org.limitless.seqeron.sequencer.client.IngressTracker
A frame just placed, with the sender's clusterSessionId() and leadershipTermId().
track(DirectBuffer, int, long, long) - Method in class org.limitless.seqeron.sequencer.client.PendingSends
A frame the sender placed, read straight after its send returned true.
transferPort(int) - Static method in class org.limitless.seqeron.protocol.PortLayout
That member's log-transfer port, used to catch a member up.
tuning(Tuning) - Method in class org.limitless.seqeron.app.Application.Builder
The stall and capacity policy, DEFAULT by default.
tuning(Tuning) - Method in class org.limitless.seqeron.app.Consumer.Builder
The stall policy, DEFAULT by default; pendingCapacity is unused, as it sends nothing.
tuning(Tuning) - Method in class org.limitless.seqeron.app.Gateway.Builder
The stall and capacity policy, DEFAULT by default.
Tuning - Record Class in org.limitless.seqeron.app
The policy knobs a producer rarely changes, kept off its builder so that holds only identity and wiring.
Tuning(int, long, long) - Constructor for record class org.limitless.seqeron.app.Tuning
Creates an instance of a Tuning record class.

U

UNRESOLVED - Static variable in class org.limitless.seqeron.app.Gateway
What Gateway.sourceId() and Gateway.gatewayId() read until a GatewayRegistered row names this instance.
update(CRC32C, DirectBuffer, int, int, byte[]) - Static method in class org.limitless.seqeron.protocol.SnapshotFormat
Feeds a span of bytes into a running CRC-32C, whatever memory backs them.

V

valueOf(String) - Static method in enum class org.limitless.seqeron.app.ClusterError
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.limitless.seqeron.protocol.Publish
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.limitless.seqeron.util.Logger.CoreComponent
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.limitless.seqeron.util.Logger.CoreEventCode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.limitless.seqeron.util.Logger.Severity
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.limitless.seqeron.app.ClusterError
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.limitless.seqeron.protocol.Publish
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.limitless.seqeron.util.Logger.CoreComponent
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.limitless.seqeron.util.Logger.CoreEventCode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.limitless.seqeron.util.Logger.Severity
Returns an array containing the constants of this enum class, in the order they are declared.
version() - Method in class org.limitless.seqeron.app.Payload
For the decoder's wrap, from the payload's own MessageHeader.
version() - Method in class org.limitless.seqeron.protocol.SequencedFrameDecoder
version(DirectBuffer, int, int) - Static method in record class org.limitless.seqeron.protocol.SnapshotHeader
The headerVersion at offset, or -1 if length cannot hold one.
VERSION - Static variable in record class org.limitless.seqeron.protocol.SnapshotHeader
The one headerVersion this build writes and reads.

W

Warn - Enum constant in enum class org.limitless.seqeron.util.Logger.Severity
An anomaly that resolved itself, or is expected to.
withPendingCapacity(int) - Method in record class org.limitless.seqeron.app.Tuning
 
withQueueStallTimeoutMs(long) - Method in record class org.limitless.seqeron.app.Tuning
 
withRecoveryStallTimeoutMs(long) - Method in record class org.limitless.seqeron.app.Tuning
 
wrap(DirectBuffer, int, int) - Method in class org.limitless.seqeron.protocol.SequencedFrameDecoder
Reads one fragment, stripping the envelope.
wrap(MutableDirectBuffer, int, int, long, int, DirectBuffer, int) - Method in class org.limitless.seqeron.protocol.SystemFrame
Encodes one UnsequencedSystem frame around body.
wrapPayload(MutableDirectBuffer, int, int, long, int, int, DirectBuffer, int) - Method in class org.limitless.seqeron.protocol.SystemFrame
The same, for an application's own payload rather than a system event's.
A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values