implicit class CollectingContact[T] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CollectingContact
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CollectingContact(c: AccumulationDsl.Contact[T])(implicit sb: AccumulationDsl.SystemBuilder)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def collectReversedUntil[TTrigger](trigger: AccumulationDsl.Contact[TTrigger], name: String = c.name + "ReversedCollector"): AccumulationDsl.Contact[List[T]]

    Creates intermediate state and collects all incoming signals in reversed order until some data appear on the trigger.

    Creates intermediate state and collects all incoming signals in reversed order until some data appear on the trigger. Then clears the state and returns collected data in a single list.

  7. def collectUntil[TTrigger](trigger: AccumulationDsl.Contact[TTrigger], name: String = c.name + "CCollector"): AccumulationDsl.Contact[List[T]]

    Creates intermediate state and collects all incoming signals in direct order until some data appear on the trigger.

    Creates intermediate state and collects all incoming signals in direct order until some data appear on the trigger. Then clears the state and returns collected data in a single list.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def lastJoinUntil[TTrigger](trigger: AccumulationDsl.Contact[TTrigger], name: String = c.name + "Collector", autoClear: Boolean = true): AccumulationDsl.Contact[(T, TTrigger)]

    Saves incoming signals to internal state.

    Saves incoming signals to internal state. The previous value is replaced with the new one. When a signal appears on the trigger contact the current remembered value

    in1.lastJoinUntil(in2).map{ case (data1, data2) => }

    if there were no input, then the trigger signal do not appear on the output

    autoClear

    should clear internal state on trigger. Otherwise keeps the previous state. Prefer to use rightJoin.

  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def prependUntil[TTrigger](trigger: AccumulationDsl.Contact[TTrigger], name: String = c.name + "PCollector"): AccumulationDsl.Contact[(List[T], TTrigger)]

    JOINs two signals.

    JOINs two signals.

    Creates intermediate state and collects all incoming signals from the source contact until some data appear on the trigger. Then clears the state and returns collected data in a single list together with the trigger signal.

    in1.prependUntil(in2).map{ case (list1, data2) => ... }
  18. def rightJoin[TTrigger](trigger: AccumulationDsl.Contact[TTrigger], name: String = c.name + "RightJoin", delay: Int = 1): AccumulationDsl.Contact[(Option[T], TTrigger)]

    Creates a state for temporary storing the value from the current contact.

    Creates a state for temporary storing the value from the current contact.

    A kind of a latch.

    for all trigger signals that appear during latch delay the join is successful. If nothing has been remembered, then nothing appears on the output.

    The latched value is cleared automatically after the given delay. This is better than lastJoinUntil when trigger do not appear in our timeslot. The remembered value is automatically removed anyway.

  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped