seqeron 0.18.0
Loading...
Searching...
No Matches
Org.Limitless.Seqeron.App.GatewayOptions Class Referencesealed

Everything one Gateway instance needs to join its pair; the Java builder's setters, as properties. More...

Properties

required string GatewayName [get]
 The GatewayRegistered row name this instance joins on.
 
IReadOnlyList< string > AddressedGroups = Array.Empty<string>() [get]
 The names of the groups this gateway publishes to besides its own; one the log's group table lacks fences it with ClusterError.GroupUnknown.
 
int SourceId = Gateway.Unresolved [get]
 The logical gateway's sourceId, the one its rows declare. Required with Snapshots, whose snapshot counter it labels.
 
SnapshotOptions Snapshots [get]
 Takes this instance into snapshot rounds; without it it takes part in none, whatever its rows say, and recovers from clusterSeqNo 1. Requires a SourceId.
 
required int ClientId [get]
 This instance's client id, its counters' label — required, and unique among the clients on its node: two sharing one share their counters' series.
 
int MemberId [get]
 The node whose queue this instance follows.
 
string EgressChannel = ApplicationOptions.DefaultEgressChannel [get]
 This client's own egress endpoint; two media drivers on one host cannot both bind a port. An ephemeral port on localhost, ApplicationOptions.DefaultEgressChannel, by default.
 
string IngressEndpoints = PortLayout.IngressEndpoints() [get]
 The members to reach, PortLayout.IngressEndpoints() by default.
 
required IGatewayListener Listener [get]
 
Tuning Tuning = new Tuning() [get]
 The stall and capacity policy.
 
IIdleStrategy IdleStrategy [get]
 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. A yielding spin and Aeron's own connect wait by default. One that also does the caller's periodic work, such as writing a heartbeat, keeps it going while the call blocks.
 

Detailed Description

Everything one Gateway instance needs to join its pair; the Java builder's setters, as properties.

Property Documentation

◆ AddressedGroups

IReadOnlyList<string> Org.Limitless.Seqeron.App.GatewayOptions.AddressedGroups = Array.Empty<string>()
get

The names of the groups this gateway publishes to besides its own; one the log's group table lacks fences it with ClusterError.GroupUnknown.

◆ ClientId

required int Org.Limitless.Seqeron.App.GatewayOptions.ClientId
get

This instance's client id, its counters' label — required, and unique among the clients on its node: two sharing one share their counters' series.

◆ EgressChannel

string Org.Limitless.Seqeron.App.GatewayOptions.EgressChannel = ApplicationOptions.DefaultEgressChannel
get

This client's own egress endpoint; two media drivers on one host cannot both bind a port. An ephemeral port on localhost, ApplicationOptions.DefaultEgressChannel, by default.

◆ GatewayName

required string Org.Limitless.Seqeron.App.GatewayOptions.GatewayName
get

The GatewayRegistered row name this instance joins on.

◆ IdleStrategy

IIdleStrategy Org.Limitless.Seqeron.App.GatewayOptions.IdleStrategy
get

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. A yielding spin and Aeron's own connect wait by default. One that also does the caller's periodic work, such as writing a heartbeat, keeps it going while the call blocks.

◆ IngressEndpoints

string Org.Limitless.Seqeron.App.GatewayOptions.IngressEndpoints = PortLayout.IngressEndpoints()
get

The members to reach, PortLayout.IngressEndpoints() by default.

◆ Listener

required IGatewayListener Org.Limitless.Seqeron.App.GatewayOptions.Listener
get

◆ MemberId

int Org.Limitless.Seqeron.App.GatewayOptions.MemberId
get

The node whose queue this instance follows.

◆ Snapshots

SnapshotOptions Org.Limitless.Seqeron.App.GatewayOptions.Snapshots
get

Takes this instance into snapshot rounds; without it it takes part in none, whatever its rows say, and recovers from clusterSeqNo 1. Requires a SourceId.

◆ SourceId

int Org.Limitless.Seqeron.App.GatewayOptions.SourceId = Gateway.Unresolved
get

The logical gateway's sourceId, the one its rows declare. Required with Snapshots, whose snapshot counter it labels.

◆ Tuning

Tuning Org.Limitless.Seqeron.App.GatewayOptions.Tuning = new Tuning()
get

The stall and capacity policy.


The documentation for this class was generated from the following file: