Packages

case class Stage[T](actions: List[ReactorAction[T]] = Nil) extends Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Stage
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Stage(actions: List[ReactorAction[T]] = Nil)

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. val actions: List[ReactorAction[T]]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. def loop(body: => Stage[T]): Stage[T]

    Executes the body in a loop.

    Executes the body in a loop.

    body

    The Stage to be executes repeatedly

  11. def modify(modifier: (T) => T): Stage[T]

    Modifies the value of the Reactor.

    Modifies the value of the Reactor.

    modifier

    A function that has the old Reactor value as input and returns a new Reactor value.

    returns

    A StageBuilder describing the Reactor behaviour.

  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def next(event: Api.Event[Unit])(body: => Stage[T]): Stage[T]

    Waits until the event is triggered.

    Waits until the event is triggered.

    When the event is triggered the given body is executed in the same transaction.

    event

    the event to wait for.

    body

    the code to execute when the event is triggered.

  14. def next[E](event: Api.Event[E])(body: (E) => Stage[T]): Stage[T]

    Waits until the event is triggered.

    Waits until the event is triggered.

    When the event is triggered the given body is executed in the same transaction.

    E

    the event's type.

    event

    the event to wait for.

    body

    the code to execute when the event is triggered.

  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. def productElementNames: Iterator[String]
    Definition Classes
    Product
  18. def read(body: (T) => Stage[T]): Stage[T]

    Reads the current reactor value.

    Reads the current reactor value.

    Executes the body with the current reactor value and expects another Stage as result.

    A usage example could be returning different Stages depending on the event value.

    body

    The function building the resulting Stage

  19. def set(newValue: T): Stage[T]

    Sets the value of the Reactor.

    Sets the value of the Reactor.

    newValue

    The new value of the Reactor.

    returns

    A StageBuilder describing the Reactor behaviour.

  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def until(event: Api.Event[Any], body: => Stage[T]): Stage[T]

    Executes it's body until an event is fired.

    Executes it's body until an event is fired.

    Until executes the body until the given event is fired.

    event

    The event indicating the interrupt.

    body

    The Stage to be executes by default.

  22. def until(event: Api.Event[Unit], body: => Stage[T], interruptHandler: Stage[T]): Stage[T]

    Executes it's body until an event is fired.

    Executes it's body until an event is fired.

    Until executes the body until the given event is fired. When the event is fired, until executes the interruptHandler.

    event

    The event indicating the interrupt.

    body

    The Stage to be executes by default.

    interruptHandler

    A function taking the interrupt event's value and returning a Stage. It is executed when the interrupt is fired.

  23. def until[E](event: Api.Event[E], body: => Stage[T], interruptHandler: (E) => Stage[T]): Stage[T]

    Executes it's body until an event is fired.

    Executes it's body until an event is fired.

    Until executes the body until the given event is fired. When the event is fired, until executes the interruptHandler.

    E

    The type of the event value.

    event

    The event indicating the interrupt.

    body

    The Stage to be executes by default.

    interruptHandler

    A function taking the interrupt event's value and returning a Stage. It is executed when the interrupt is fired.

  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. 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 Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped