c

com.workflowfm.pew.kafka.components

SequenceResponseBuilder

class SequenceResponseBuilder[T[X] <: Tracked[X]] extends AnyRef

Object that aggregates information required to properly respond to a sequence of PiiUpdate and SequenceRequest messages in a combined SequenceRequest topic.

Example Sequence and Responses: older... ...newer [ S1 S1 U1|U1 S2 S1 U2|S1 U2 S2 U1|S2 U1 U2|U1 U2 U3 S3 ] pii history topic [ R1 | R1 R2 | R1 R2 | R1 R2 | R1 R2 R3 ] reduce request topic

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SequenceResponseBuilder
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SequenceResponseBuilder()

    returns

    An empty response builder that consumes no messages.

  2. new SequenceResponseBuilder(consuming: List[T[PiiHistory]], responses: HashMap[ObjectId, PartialResponse])

    consuming

    The Consumer messages to be consumed by the next output.

    responses

    A map of partial responses for PiInstances that need reducing.

Type Members

  1. type Arg = (CallRef, PiObject)
  2. type PiiT = PiInstance[ObjectId]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from SequenceResponseBuilder[T] to any2stringadd[SequenceResponseBuilder[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (SequenceResponseBuilder[T], B)
    Implicit
    This member is added by an implicit conversion from SequenceResponseBuilder[T] to ArrowAssoc[SequenceResponseBuilder[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. val consuming: List[T[PiiHistory]]
  9. def ensuring(cond: (SequenceResponseBuilder[T]) ⇒ Boolean, msg: ⇒ Any): SequenceResponseBuilder[T]
    Implicit
    This member is added by an implicit conversion from SequenceResponseBuilder[T] to Ensuring[SequenceResponseBuilder[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (SequenceResponseBuilder[T]) ⇒ Boolean): SequenceResponseBuilder[T]
    Implicit
    This member is added by an implicit conversion from SequenceResponseBuilder[T] to Ensuring[SequenceResponseBuilder[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): SequenceResponseBuilder[T]
    Implicit
    This member is added by an implicit conversion from SequenceResponseBuilder[T] to Ensuring[SequenceResponseBuilder[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): SequenceResponseBuilder[T]
    Implicit
    This member is added by an implicit conversion from SequenceResponseBuilder[T] to Ensuring[SequenceResponseBuilder[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from SequenceResponseBuilder[T] to StringFormat[SequenceResponseBuilder[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def next(msgIn: T[PiiHistory]): SequenceResponseBuilder[T]

    Construct a new SequenceResponseBuilder which is responsible for properly consuming an additional message.

    Construct a new SequenceResponseBuilder which is responsible for properly consuming an additional message.

    msgIn

    The next CommittableMessage to handle.

    returns

    A new SequenceResponseBuilder instance.

  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. val response: Option[T[Seq[AnyMsg]]]

    MultiMessage response for the consumed messages, or None if the consumed messages lack sufficient information for a response.

  25. val responses: HashMap[ObjectId, PartialResponse]
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. def update(id: ObjectId, func: (PartialResponse) ⇒ PartialResponse): HashMap[ObjectId, PartialResponse]
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. def [B](y: B): (SequenceResponseBuilder[T], B)
    Implicit
    This member is added by an implicit conversion from SequenceResponseBuilder[T] to ArrowAssoc[SequenceResponseBuilder[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from SequenceResponseBuilder[T] to any2stringadd[SequenceResponseBuilder[T]]

Inherited by implicit conversion StringFormat from SequenceResponseBuilder[T] to StringFormat[SequenceResponseBuilder[T]]

Inherited by implicit conversion Ensuring from SequenceResponseBuilder[T] to Ensuring[SequenceResponseBuilder[T]]

Inherited by implicit conversion ArrowAssoc from SequenceResponseBuilder[T] to ArrowAssoc[SequenceResponseBuilder[T]]

Ungrouped