GossipProducerSessionState
org.sigilaris.node.gossip.GossipProducerSessionState
final case class GossipProducerSessionState(sessionId: DirectionalSessionId, peer: PeerIdentity, peerCorrelationId: PeerCorrelationId, subscriptions: SessionSubscription, negotiated: NegotiatedSessionParameters, durableCursor: CompositeCursor, streamCursor: CompositeCursor, pendingReplay: Map[ChainTopic, Option[CursorToken]])
Mutable state of a producer-side gossip session, tracking cursors, replays, and stream progress.
Value parameters
- durableCursor
-
the cursor persisted by the consumer via SetCursor
- negotiated
-
the negotiated timing parameters
- peer
-
the remote peer identity
- peerCorrelationId
-
the peer correlation id
- pendingReplay
-
chain-topics with pending Nack replay requests
- sessionId
-
the directional session identifier
- streamCursor
-
the cursor tracking the most recently emitted events
- subscriptions
-
the session subscriptions
Attributes
- Source
- ProducerSession.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article