TxProducerSessionState

org.sigilaris.node.gossip.tx.TxProducerSessionState
See theTxProducerSessionState companion object
final case class TxProducerSessionState(sessionId: DirectionalSessionId, peer: PeerIdentity, peerCorrelationId: PeerCorrelationId, subscriptions: SessionSubscription, negotiated: NegotiatedSessionParameters, durableCursor: CompositeCursor, streamCursor: CompositeCursor, filters: Map[ChainTopic, TxBloomFilter], filterReceiptTimes: Map[ChainTopic, Instant], exactKnownIds: Map[ChainId, Set[StableArtifactId]], exactKnownScopeIds: Map[ExactKnownSetScope, Set[StableArtifactId]], pendingReplay: Map[ChainTopic, Option[CursorToken]], pendingRequestByIds: Map[ChainId, Vector[StableArtifactId]], pendingRequestScopeIds: Map[ExactKnownSetScope, Vector[StableArtifactId]], requestScopeRetryCounts: Map[ExactKnownSetScope, Int], sidecarHolds: Map[ChainTopic, GossipSidecarHoldState], sidecarDiagnostics: Vector[GossipSidecarDiagnostic], idempotencyKeys: Map[ControlIdempotencyKey, Instant], batchingConfig: TxBatchingConfig)

Attributes

Companion
object
Source
TxRuntimeState.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Appends planner diagnostics while retaining only the recent bounded tail.

Appends planner diagnostics while retaining only the recent bounded tail.

Attributes

Source
TxRuntimeState.scala

Clears a proposal sidecar hold after delivery or fallback.

Clears a proposal sidecar hold after delivery or fallback.

Attributes

Source
TxRuntimeState.scala

Extracts the base GossipProducerSessionState from this extended state.

Extracts the base GossipProducerSessionState from this extended state.

Attributes

Returns

the base producer session state

Source
TxRuntimeState.scala

Records a bounded hold for a proposal sidecar decision.

Records a bounded hold for a proposal sidecar decision.

Attributes

Source
TxRuntimeState.scala

Updates the cursor and replay state from a base producer session state.

Updates the cursor and replay state from a base producer session state.

Value parameters

producerState

the base producer state to merge from

Attributes

Returns

the updated state

Source
TxRuntimeState.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product