Interface | Description |
---|---|
ActorContext<T> |
An Actor is given by the combination of a
Behavior and a context in
which this behavior is executed. |
ActorSystem<T> |
An ActorSystem is home to a hierarchy of Actors.
|
DispatcherSelector |
Subclasses of this type describe which thread pool shall be used to run
the actor to which this configuration is applied.
|
EventStream |
An EventStream allows local actors to register for certain message types, including
their subtypes automatically.
|
Failed.Decision | |
Logger.Command | |
ScalaDSL.MessageOrSignal<T> | |
Signal |
System signals are notifications that are generated by the system and
delivered to the Actor behavior in a reliable fashion (i.e.
|
Class | Description |
---|---|
ActorRef<T> |
An ActorRef is the identity or address of an Actor instance.
|
ActorRef$ | |
ActorSystem$ | |
AskPattern |
The ask-pattern implements the initiator side of a request–reply protocol.
|
AskPattern.Askable<T> | |
AskPattern.Askable$ | |
AskPattern$ |
The ask-pattern implements the initiator side of a request–reply protocol.
|
Behavior<T> |
The behavior of an actor defines how it reacts to the messages that it
receives.
|
Behavior.emptyBehavior$ |
INTERNAL API.
|
Behavior.ignoreBehavior$ |
INTERNAL API.
|
Behavior.sameBehavior$ |
INTERNAL API.
|
Behavior.stoppedBehavior$ |
INTERNAL API.
|
Behavior.unhandledBehavior$ |
INTERNAL API.
|
Behavior$ | |
BusLogging |
LoggingAdapter that publishes Logging.LogEvent to event stream. |
DeadLetter |
Envelope for dead letters.
|
DeadLetter$ | |
DeathPactException$ | |
DefaultLogger | |
DefaultLoggingFilter | |
DeploymentConfig |
Data structure for describing an actor’s deployment details like which
executor to run it on.
|
DispatcherDefault |
Use the
ActorSystem default executor to run the actor. |
DispatcherDefault$ | |
DispatcherFromConfig |
Look up an executor definition in the
ActorSystem configuration. |
DispatcherFromConfig$ | |
DispatcherFromExecutionContext |
Directly use the given ExecutionContext whenever the actor needs to be run.
|
DispatcherFromExecutionContext$ | |
DispatcherFromExecutor |
Directly use the given Executor whenever the actor needs to be run.
|
DispatcherFromExecutor$ | |
Dispatchers |
An
ActorSystem looks up all its thread pools via a Dispatchers instance. |
Dispatchers$ | |
Dropped |
Envelope that is published on the eventStream for every message that is
dropped due to overfull queues.
|
Dropped$ | |
Effect |
All tracked effects must extend implement this type.
|
Effect.EmptyEffect$ | |
Effect.Messaged<U> | |
Effect.Messaged$ | |
Effect.ReceiveTimeoutSet<T> | |
Effect.ReceiveTimeoutSet$ | |
Effect.Scheduled<U> | |
Effect.Scheduled$ | |
Effect.Spawned | |
Effect.Spawned$ | |
Effect.Stopped | |
Effect.Stopped$ | |
Effect.Unwatched<T> | |
Effect.Unwatched$ | |
Effect.Watched<T> | |
Effect.Watched$ | |
Effect$ | |
EffectfulActorContext<T> |
An
ActorContext for testing purposes that records the effects performed
on it and otherwise stubs them out like a StubbedActorContext . |
EmptyDeploymentConfig |
The empty configuration node, used as a terminator for the internally linked
list of each DeploymentConfig.
|
EmptyDeploymentConfig$ |
The empty configuration node, used as a terminator for the internally linked
list of each DeploymentConfig.
|
Failed |
FIXME correct this documentation when the Restarter behavior has been implemented
|
Failed.Escalate$ |
The default response to a failure in a child actor is to escalate the
failure, entailing that the parent actor fails as well.
|
Failed.NoFailureResponse$ | |
Failed.Restart$ |
Restarting the child actor means resetting its behavior to the initial
one that was provided during its creation (i.e.
|
Failed.Resume$ |
Resuming the child actor means that the result of processing the message
on which it failed is just ignored, the previous state will be used to
process the next message.
|
Failed.Stop$ |
Stopping the child actor will free its resources and eventually
(asynchronously) unregister its name from the parent.
|
Failed$ |
FIXME correct this documentation when the Restarter behavior has been implemented
|
Inbox<T> | |
Inbox$ | |
Logger | |
Logger.Initialize | |
Logger.Initialize$ | |
Logger$ | |
MailboxCapacity |
Configure the maximum mailbox capacity for the actor.
|
MailboxCapacity$ | |
PostStop |
Lifecycle signal that is fired after this actor and all its child actors
(transitively) have terminated.
|
PostStop$ |
Lifecycle signal that is fired after this actor and all its child actors
(transitively) have terminated.
|
PreRestart |
Lifecycle signal that is fired upon restart of the Actor before replacing
the behavior with the fresh one (i.e.
|
PreRestart$ |
Lifecycle signal that is fired upon restart of the Actor before replacing
the behavior with the fresh one (i.e.
|
PreStart |
Lifecycle signal that is fired upon creation of the Actor.
|
PreStart$ |
Lifecycle signal that is fired upon creation of the Actor.
|
ScalaDSL |
This object holds several behavior factories and combinators that can be
used to construct Behavior instances.
|
ScalaDSL.And<T> |
A behavior combinator that feeds incoming messages and signals both into
the left and right sub-behavior and allows them to evolve independently of
each other.
|
ScalaDSL.And$ | |
ScalaDSL.BehaviorDecorators<T> | |
ScalaDSL.BehaviorDecorators$ | |
ScalaDSL.Deferred<T> |
Wrap a behavior factory so that it runs upon PreStart, i.e.
|
ScalaDSL.Deferred$ | |
ScalaDSL.Full<T> |
This type of behavior allows to handle all incoming messages within
the same user-provided partial function, be that a user message or a system
signal.
|
ScalaDSL.Full$ | |
ScalaDSL.FullTotal<T> |
This type of behavior expects a total function that describes the actor’s
reaction to all system signals or user messages, without providing a
fallback mechanism for either.
|
ScalaDSL.FullTotal$ | |
ScalaDSL.Msg<T> |
A message bundled together with the current
ActorContext . |
ScalaDSL.Msg$ | |
ScalaDSL.Or<T> |
A behavior combinator that feeds incoming messages and signals either into
the left or right sub-behavior and allows them to evolve independently of
each other.
|
ScalaDSL.Or$ | |
ScalaDSL.Partial<T> |
This type of Behavior is created from a partial function from the declared
message type to the next behavior, flagging all unmatched messages as
ScalaDSL.Unhandled() . |
ScalaDSL.Partial$ | |
ScalaDSL.Sig<T> |
A signal bundled together with the current
ActorContext . |
ScalaDSL.Sig$ | |
ScalaDSL.Static<T> |
This type of behavior is a variant of
ScalaDSL.Total that does not
allow the actor to change behavior. |
ScalaDSL.Static$ | |
ScalaDSL.SynchronousSelf<T> |
This behavior allows sending messages to itself without going through the
Actor’s mailbox.
|
ScalaDSL.SynchronousSelf$ | |
ScalaDSL.Tap<T> |
This type of Behavior wraps another Behavior while allowing you to perform
some action upon each received message or signal.
|
ScalaDSL.Tap$ | |
ScalaDSL.Total<T> |
This type of behavior is created from a total function from the declared
message type to the next behavior, which means that all possible incoming
messages for the given type must be handled.
|
ScalaDSL.Total$ | |
ScalaDSL.Widened<T,U> |
Widen the wrapped Behavior by placing a funnel in front of it: the supplied
PartialFunction decides which message to pull in (those that it is defined
at) and may transform the incoming message to place them into the wrapped
Behavior’s type hierarchy.
|
ScalaDSL.Widened$ | |
ScalaDSL$ |
This object holds several behavior factories and combinators that can be
used to construct Behavior instances.
|
Settings |
The configuration settings that were parsed from the config by an
ActorSystem . |
StubbedActorContext<T> |
An
ActorContext for synchronous execution of a Behavior that
provides only stubs for the effects an Actor can perform and replaces
created child Actors by a synchronous Inbox (see Inbox.sync ). |
Terminated |
Lifecycle signal that is fired when an Actor that was watched has terminated.
|
Terminated$ |
Exception | Description |
---|---|
DeathPactException |
Exception that an actor fails with if it does not handle a Terminated message.
|