final case class SequencedMessage[A](producerId: String, seqNr: SeqNr, message: MessageOrChunk, first: Boolean, ack: Boolean)(producerController: ActorRef[InternalCommand]) extends Command[A] with DeliverySerializable with DeadLetterSuppression with Product with Serializable
This is used between the ProducerController
and ConsumerController
. Should rarely be used in
application code but is public because it's in the signature for the EntityTypeKey
when using
ShardingConsumerController
.
In the future we may also make the custom send
in ProducerController
public to make it possible to
wrap it or send it in other ways when building higher level abstractions that are using the ProducerController
.
That is used by ShardingProducerController
.
- producerController
INTERNAL API: construction of SequencedMessage is internal
- Source
- ConsumerController.scala
- Alphabetic
- By Inheritance
- SequencedMessage
- Serializable
- Product
- Equals
- DeadLetterSuppression
- DeliverySerializable
- Command
- UnsealedInternalCommand
- InternalCommand
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SequencedMessage(producerId: String, seqNr: SeqNr, message: MessageOrChunk, first: Boolean, ack: Boolean)(producerController: ActorRef[InternalCommand])
- producerController
INTERNAL API: construction of SequencedMessage is internal
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from SequencedMessage[A] toany2stringadd[SequencedMessage[A]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (SequencedMessage[A], B)
- Implicit
- This member is added by an implicit conversion from SequencedMessage[A] toArrowAssoc[SequencedMessage[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val ack: Boolean
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def ensuring(cond: (SequencedMessage[A]) => Boolean, msg: => Any): SequencedMessage[A]
- Implicit
- This member is added by an implicit conversion from SequencedMessage[A] toEnsuring[SequencedMessage[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (SequencedMessage[A]) => Boolean): SequencedMessage[A]
- Implicit
- This member is added by an implicit conversion from SequencedMessage[A] toEnsuring[SequencedMessage[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): SequencedMessage[A]
- Implicit
- This member is added by an implicit conversion from SequencedMessage[A] toEnsuring[SequencedMessage[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): SequencedMessage[A]
- Implicit
- This member is added by an implicit conversion from SequencedMessage[A] toEnsuring[SequencedMessage[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val first: Boolean
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val message: MessageOrChunk
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val producerId: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val seqNr: SeqNr
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from SequencedMessage[A] toStringFormat[SequencedMessage[A]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (SequencedMessage[A], B)
- Implicit
- This member is added by an implicit conversion from SequencedMessage[A] toArrowAssoc[SequencedMessage[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.