package typed
- Alphabetic
- Public
- Protected
Package Members
Type Members
- final case class DeleteEventsCompleted(toSequenceNr: Long) extends EventSourcedSignal with Product with Serializable
- final case class DeleteEventsFailed(toSequenceNr: Long, failure: Throwable) extends EventSourcedSignal with Product with Serializable
- final case class DeleteSnapshotsCompleted(target: DeletionTarget) extends EventSourcedSignal with Product with Serializable
- final case class DeleteSnapshotsFailed(target: DeletionTarget, failure: Throwable) extends EventSourcedSignal with Product with Serializable
- sealed trait DeletionTarget extends AnyRef
Not for user extension
Not for user extension
- Annotations
- @DoNotInherit()
- abstract class EventAdapter[E, P] extends AnyRef
Facility to convert from and to specialised data models, as may be required by specialized persistence Journals.
Facility to convert from and to specialised data models, as may be required by specialized persistence Journals. Typical use cases include (but are not limited to):
- extracting events from "envelopes"
- adapting events from a "domain model" to the "data model", e.g. converting to the Journals storage format, such as JSON, BSON or any specialised binary format
- adapting events from a "data model" to the "domain model"
- adding metadata that is understood by the journal
- migration by splitting up events into sequences of other events
- migration filtering out unused events, or replacing an event with another
- final class EventRejectedException extends RuntimeException
Thrown if a journal rejects an event e.g.
Thrown if a journal rejects an event e.g. due to a serialization error.
- sealed trait EventSeq[+A] extends AnyRef
- sealed trait EventSourcedSignal extends Signal
Supertype for all Pekko Persistence Typed specific signals
Supertype for all Pekko Persistence Typed specific signals
Not for user extension
- Annotations
- @DoNotInherit()
- final class PersistenceId extends AnyRef
Unique identifier in the backend data store (journal and snapshot store) of the persistent actor.
- trait PublishedEvent extends AnyRef
When using event publishing the events published to the system event stream will be in this form.
When using event publishing the events published to the system event stream will be in this form.
Not for user extension
- Annotations
- @DoNotInherit()
- sealed abstract class RecoveryCompleted extends EventSourcedSignal
- Annotations
- @DoNotInherit()
- final case class RecoveryFailed(failure: Throwable) extends EventSourcedSignal with Product with Serializable
- final case class ReplicaId(id: String) extends Product with Serializable
Identifies a replica in Replicated Event Sourcing, could be a datacenter name or a logical identifier.
- final class ReplicationId extends AnyRef
- trait SnapshotAdapter[State] extends AnyRef
Facility to convert snapshots from and to a specialized data model.
Facility to convert snapshots from and to a specialized data model. Can be used when migration from different state types e.g. when migration from Persistent FSM to Typed EventSourcedBehavior.
- State
The state type of the
EventSourcedBehavior
- final case class SnapshotCompleted(metadata: SnapshotMetadata) extends EventSourcedSignal with Product with Serializable
- final case class SnapshotFailed(metadata: SnapshotMetadata, failure: Throwable) extends EventSourcedSignal with Product with Serializable
- final class SnapshotMetadata extends AnyRef
Snapshot metadata.
- final class SnapshotSelectionCriteria extends AnyRef
Selection criteria for loading and deleting snapshots.
Value Members
- object DeletionTarget
- object EventSeq
- object PersistenceId
- case object RecoveryCompleted extends RecoveryCompleted with Product with Serializable
- object ReplicationId
- object SnapshotMetadata
- object SnapshotSelectionCriteria