Object/Class

akka.actor.typed.javadsl

BehaviorBuilder

Related Docs: class BehaviorBuilder | package javadsl

Permalink

object BehaviorBuilder

Source
BehaviorBuilder.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BehaviorBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def create[T]: BehaviorBuilder[T]

    Permalink
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def message[T, M <: T](type: Class[M], test: Predicate[M], handler: Function2[ActorContext[T], M, Behavior[T]]): BehaviorBuilder[T]

    Permalink

    Start a new behavior chain starting with this predicated case.

    Start a new behavior chain starting with this predicated case.

    T

    type of behavior to create

    M

    type of message to match

    type

    type of message to match

    test

    a predicate that will be evaluated on the argument if the type matches

    handler

    action to apply if the type matches and the predicate returns true

    returns

    a new behavior with the specified handling appended

  14. def message[T, M <: T](type: Class[M], handler: Function2[ActorContext[T], M, Behavior[T]]): BehaviorBuilder[T]

    Permalink

    Start a new behavior chain starting with this case.

    Start a new behavior chain starting with this case.

    T

    type of behavior to create

    M

    type of message to match

    type

    type of message to match

    handler

    action to apply if the type matches

    returns

    a new behavior with the specified handling appended

  15. def messageEquals[T](msg: T, handler: Function[ActorContext[T], Behavior[T]]): BehaviorBuilder[T]

    Permalink

    Start a new behavior chain starting with a handler for equal messages.

    Start a new behavior chain starting with a handler for equal messages.

    T

    type of behavior to create

    msg

    the message to compare to

    handler

    action to apply when the message matches

    returns

    a new behavior with the specified handling appended

  16. def messageUnchecked[T, M <: T](type: Class[_ <: T], handler: Function2[ActorContext[T], M, Behavior[T]]): BehaviorBuilder[T]

    Permalink

    Start a new behavior chain starting with a handler without compile time type check.

    Start a new behavior chain starting with a handler without compile time type check.

    Should normally not be used, but when matching on class with generic type argument it can be useful, e.g. List.class and (List<String> list) -> {...}

    type

    type of message to match

    handler

    action to apply when the type matches

    returns

    a new behavior with the specified handling appended

  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def signal[T, M <: Signal](type: Class[M], test: Predicate[M], handler: Function2[ActorContext[T], M, Behavior[T]]): BehaviorBuilder[T]

    Permalink

    Start a new behavior chain starting with this predicated signal case.

    Start a new behavior chain starting with this predicated signal case.

    T

    type of behavior to create

    M

    type of signal to match

    type

    type of signals to match

    test

    a predicate that will be evaluated on the argument if the type matches

    handler

    action to apply if the type matches and the predicate returns true

    returns

    a new behavior with the specified handling appended

  21. def signal[T, M <: Signal](type: Class[M], handler: Function2[ActorContext[T], M, Behavior[T]]): BehaviorBuilder[T]

    Permalink

    Start a new behavior chain starting with this signal case.

    Start a new behavior chain starting with this signal case.

    T

    type of behavior to create

    M

    type of signal to match

    type

    type of signal to match

    handler

    action to apply if the type matches

    returns

    a new behavior with the specified handling appended

  22. def signalEquals[T](signal: Signal, handler: Function[ActorContext[T], Behavior[T]]): BehaviorBuilder[T]

    Permalink

    Start a new behavior chain starting with a handler for this specific signal.

    Start a new behavior chain starting with a handler for this specific signal.

    T

    type of behavior to create

    signal

    the signal to compare to

    handler

    action to apply when the message matches

    returns

    a new behavior with the specified handling appended

  23. def signalUnchecked[T, M <: Signal](type: Class[_ <: Signal], handler: Function2[ActorContext[T], M, Behavior[T]]): BehaviorBuilder[T]

    Permalink

    Start a new behavior chain starting with this unchecked signal case.

    Start a new behavior chain starting with this unchecked signal case.

    Should normally not be used, but when matching on class with generic type argument it can be useful, e.g. GenMsg.class and (ActorContext ctx, GenMsg<String> list) -> {...}

    type

    type of signal to match

    handler

    action to apply when the type matches

    returns

    a new behavior with the specified handling appended

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped