final case class State[A](currentSeqNr: SeqNr, highestConfirmedSeqNr: SeqNr, confirmedSeqNr: Map[ConfirmationQualifier, (SeqNr, TimestampMillis)], unconfirmed: IndexedSeq[MessageSent[A]]) extends DeliverySerializable with Product with Serializable
- Source
- DurableProducerQueue.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- State
- Serializable
- Product
- Equals
- DeliverySerializable
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new State(currentSeqNr: SeqNr, highestConfirmedSeqNr: SeqNr, confirmedSeqNr: Map[, (, TimestampMillis)], unconfirmed: [MessageSent[A]])
Value Members
- def addMessageSent(sent: MessageSent[A]): State[A]
- def cleanup(confirmationQualifiers: Set[String]): State[A]
- def cleanupPartialChunkedMessages(): State[A]
If not all chunked messages were stored before crash those partial chunked messages should not be resent.
- def confirmed(seqNr: SeqNr, confirmationQualifier: ConfirmationQualifier, timestampMillis: TimestampMillis): State[A]
- val confirmedSeqNr: Map[, (, TimestampMillis)]
- val currentSeqNr: SeqNr
- val highestConfirmedSeqNr: SeqNr
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val unconfirmed: [MessageSent[A]]