package scaladsl
- Alphabetic
- Public
- Protected
Type Members
- abstract class ActorHandler[Envelope, T] extends Handler[Envelope] with ActorHandlerInit[T]
This Handler gives support for spawning an actor of a given
Behavior
to delegate processing of the envelopes to the actor.This Handler gives support for spawning an actor of a given
Behavior
to delegate processing of the envelopes to the actor.The lifecycle of the actor is managed by the
Projection
. Thebehavior
is spawned when theProjection
is started and theActorRef
is passed in as a parameter to theprocess
method. The Actor is stopped when theProjection
is stopped. - trait AtLeastOnceFlowProjection[Offset, Envelope] extends Projection[Envelope]
- Annotations
- @DoNotInherit()
- trait AtLeastOnceProjection[Offset, Envelope] extends Projection[Envelope]
- Annotations
- @DoNotInherit()
- trait AtMostOnceProjection[Offset, Envelope] extends Projection[Envelope]
- Annotations
- @DoNotInherit()
- trait ExactlyOnceProjection[Offset, Envelope] extends Projection[Envelope]
- Annotations
- @DoNotInherit()
- trait GroupedProjection[Offset, Envelope] extends Projection[Envelope]
- Annotations
- @DoNotInherit()
- trait Handler[Envelope] extends HandlerLifecycle
Implement this interface for the Envelope handler in the
Projection
.Implement this interface for the Envelope handler in the
Projection
. Some projections may have more specific handler types.It can be stateful, with variables and mutable data structures. It is invoked by the
Projection
machinery one envelope at a time and visibility guarantees between the invocations are handled automatically, i.e. no volatile or other concurrency primitives are needed for managing the state.Supported error handling strategies for when processing an
Envelope
fails can be defined in configuration or using thewithRecoveryStrategy
method of aProjection
implementation. - trait HandlerLifecycle extends AnyRef
- trait MergeableOffsetSourceProvider[Offset <: MergeableOffset[_], Envelope] extends SourceProvider[Offset, Envelope]
- class ProjectionManagement extends Extension
- trait SourceProvider[Offset, Envelope] extends AnyRef
- abstract class StatefulHandler[State, Envelope] extends Handler[Envelope]
- trait VerifiableSourceProvider[Offset, Envelope] extends SourceProvider[Offset, Envelope]
Value Members
- object Handler
- object ProjectionManagement extends ExtensionId[ProjectionManagement]