Package org.apache.pekko.actor.typed.javadsl
@NullMarked
package org.apache.pekko.actor.typed.javadsl
Java API for Pekko Actor Typed.
This package contains the Java DSL for Pekko Actor Typed. For the Scala DSL see
org.apache.pekko.actor.typed.scaladsl.
-
ClassDescriptionAn actor
Behaviorcan be implemented by extending this class and implement the abstract methodAbstractBehavior.createReceive().An actorBehaviorcan be implemented by extending this class and implementing the abstract methodAbstractMatchingBehavior.onMessage(T).ActorContext<T>An Actor is given by the combination of aBehaviorand a context in which this behavior is executed.Adapters between typed and classic actors and actor systems.Adapters between typed and classic actors and actor systems.The ask-pattern implements the initiator side of a request–reply protocol.The ask-pattern implements the initiator side of a request–reply protocol.Immutable builder used for creating aBehaviorby 'chaining' message and signal handlers.Factories forpekko.actor.typed.Behavior.Factories forpekko.actor.typed.Behavior.The concrete behaviorBuiltReceive<T>Receive type forAbstractBehaviorGroupRouter<T>Provides builder style configuration options for group routersPoolRouter<T>Provides builder style configuration options for pool routersReceive<T>A specialized "receive" behavior that is implemented using message matching builders, such asReceiveBuilder, fromAbstractBehavior.Mutable builder used when implementingAbstractBehavior.StashBuffer<T>A non thread safe mutable message buffer that can be used to buffer messages inside actors and then unstash them.Is thrown when the size of the stash exceeds the capacity of the stash buffer.Support for scheduledselfmessages in an actor.