Package org.apache.pekko.actor.typed
package org.apache.pekko.actor.typed
-
ClassDescriptionAbstractExtensionSetup<T extends Extension>Scala 2.11 API: Each extension typically provide a concrete
ExtensionSetupthat can be used inpekko.actor.setup.ActorSystemSetupwhen starting theActorSystemto replace the default implementation of the extension.ActorRef<T>An ActorRef is the identity or address of an Actor instance.Serialization and deserialization ofActorRef.Can be used inpekko.actor.setup.ActorSystemSetupwhen starting theActorSystemto replace the default implementation of theActorRefResolverextension.ActorSystem<T>An ActorSystem is home to a hierarchy of Actors.Actor tags are used to logically group actors.Not for user extensionBehavior<T>The behavior of an actor defines how it reacts to the messages that it receives.Behavior.BehaviorDecorators<Inner>BehaviorInterceptor<Outer,Inner> A behavior interceptor allows for intercepting message and signal reception and perform arbitrary logic - transform, filter, send to a side channel etc.Abstraction of passing the on further in the behavior stack inBehaviorInterceptor.aroundStart(org.apache.pekko.actor.typed.TypedActorContext<Outer>, org.apache.pekko.actor.typed.BehaviorInterceptor.PreStartTarget<Inner>).Abstraction of passing the message on further in the behavior stack inBehaviorInterceptor.aroundReceive(org.apache.pekko.actor.typed.TypedActorContext<Outer>, Outer, org.apache.pekko.actor.typed.BehaviorInterceptor.ReceiveTarget<Inner>).Abstraction of passing the signal on further in the behavior stack inBehaviorInterceptor.aroundReceive(org.apache.pekko.actor.typed.TypedActorContext<Outer>, Outer, org.apache.pekko.actor.typed.BehaviorInterceptor.ReceiveTarget<Inner>).BehaviorSignalInterceptor<Inner>A behavior interceptor allows for intercepting signals reception and perform arbitrary logic - transform, filter, send to a side channel etc.Child has failed due an uncaught exceptionException that an actor fails with if it does not handle a Terminated message.AnActorSystemlooks up all its thread pools via a Dispatchers instance.Not for user extension.Factories forDispatcherSelectors which describe which thread pool shall be used to run the actor to which this configuration is applied.Extension point for implementing custom behaviors in addition to the existing set of behaviors available through the DSLs inpekko.actor.typed.scaladsl.Behaviorsandpekko.actor.typed.javadsl.BehaviorsMarker trait/interface for extensions.ExtensionId<T extends Extension>Identifier and factory for an extension.API for registering and looking up extensions.ExtensionSetup<T extends Extension>Each extension typically provide a concreteExtensionSetupthat can be used inpekko.actor.setup.ActorSystemSetupwhen starting theActorSystemto replace the default implementation of the extension.Logging options when usingBehaviors.logMessages.Factories for log optionsNot for user extension.Signal passed to the actor when a message adapter has thrown an exception adapting an incoming message.Lifecycle signal that is fired after this actor and all its child actors (transitively) have terminated.Lifecycle signal that is fired after this actor and all its child actors (transitively) have terminated.Lifecycle signal that is fired upon restart of the Actor before replacing the behavior with the fresh one (i.e.Data structure for describing an actor’s props details like which executor to run it on.RecipientRef<T>FIXME doc - not serializable - not watchableNot for user extensionThe ActorSystem facility for scheduling tasks.INTERNAL APIThe configuration settings that were parsed from the config by anActorSystem.System signals are notifications that are generated by the system and delivered to the Actor behavior in a reliable fashion (i.e.A message protocol for actors that support spawning a child actor when receiving aSpawnProtocol#Spawnmessage and sending back theActorRefof the child actor.Not for user extensionSpawn a child actor with the givenbehaviorand send back theActorRefof that child to the givenreplyTodestination.A message protocol for actors that support spawning a child actor when receiving aSpawnProtocol#Spawnmessage and sending back theActorRefof the child actor.INTERNAL API A behavior type that could be supervised, Not for user extension.Not for user extensionINTERNAL APILifecycle signal that is fired when an Actor that was watched has terminated.This trait is not meant to be extended by user code.