Package org.apache.pekko.actor.typed.scaladsl
-
Interface Summary Interface Description ActorContext<T> An Actor is given by the combination of aBehaviorand a context in which this behavior is executed.Behaviors.Receive<T> Behaviorthat exposes additional fluent DSL methods to further change the message or signal reception behavior.GroupRouter<T> Provides builder style configuration options for group routersPoolRouter<T> Provides builder style configuration options for pool routersStashBuffer<T> A non thread safe mutable message buffer that can be used to buffer messages inside actors and then unstash them.TimerScheduler<T> Support for scheduledselfmessages in an actor. -
Class Summary Class Description AbstractBehavior<T> An actorBehaviorcan be implemented by extending this class and implement the abstract methodAbstractBehavior.onMessage(T)and optionally overrideAbstractBehavior.onSignal().AskPattern The ask-pattern implements the initiator side of a request–reply protocol.AskPattern.Askable<Req> AskPattern.Askable$ AskPattern$ The ask-pattern implements the initiator side of a request–reply protocol.Behaviors Factories forpekko.actor.typed.Behavior.Behaviors.Supervise<T> Behaviors.Supervise$ Behaviors$ Factories forpekko.actor.typed.Behavior.Routers Routers$ StashBuffer$ INTERNAL API -
Exception Summary Exception Description StashOverflowException Is thrown when the size of the stash exceeds the capacity of the stash buffer.