Package

akka.persistence

journal

Permalink

package journal

Content Hierarchy
Visibility
  1. Public
  2. All

Type Members

  1. trait AsyncRecovery extends AnyRef

    Permalink

    Asynchronous message replay and sequence number recovery interface.

  2. class AsyncReplayTimeoutException extends AkkaException

    Permalink

    Thrown if replay inactivity exceeds a specified timeout.

    Thrown if replay inactivity exceeds a specified timeout.

    Annotations
    @SerialVersionUID()
  3. trait AsyncWriteJournal extends Actor with WriteJournalBase with AsyncRecovery

    Permalink

    Abstract journal, optimized for asynchronous, non-blocking writes.

  4. sealed trait EmptyEventSeq extends EventSeq

    Permalink
  5. trait EventAdapter extends WriteEventAdapter with ReadEventAdapter

    Permalink

    An EventAdapter is both a WriteEventAdapter and a ReadEventAdapter.

    An EventAdapter is both a WriteEventAdapter and a ReadEventAdapter. 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):

    • adding metadata, a.k.a. "tagging" - by wrapping objects into tagged counterparts
    • manually converting to the Journals storage format, such as JSON, BSON or any specialised binary format
    • adapting incoming events in any way before persisting them by the journal
  6. class EventAdapters extends AnyRef

    Permalink

    EventAdapters serves as a per-journal collection of bound event adapters.

  7. sealed abstract class EventSeq extends AnyRef

    Permalink
  8. final case class EventsSeq[E](events: Seq[E]) extends EventSeq with Product with Serializable

    Permalink
  9. final class PersistencePluginProxy extends Actor with Stash with ActorLogging

    Permalink
  10. class PersistencePluginProxyExtensionImpl extends Extension

    Permalink

    PersistencePluginProxyExtensionImpl is an Extension that enables initialization of the PersistencePluginProxy via configuration, without requiring any code changes or the creation of any actors.

  11. trait ReadEventAdapter extends AnyRef

    Permalink

    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"
    • manually converting to the Journals storage format, such as JSON, BSON or any specialised binary format
    • adapting incoming events from a "data model" to the "domain model"
  12. final case class SingleEventSeq(event: Any) extends EventSeq with Product with Serializable

    Permalink
  13. case class Tagged(payload: Any, tags: Set[String]) extends Product with Serializable

    Permalink

    The journal may support tagging of events that are used by the EventsByTag query and it may support specifying the tags via an akka.persistence.journal.EventAdapter that wraps the events in a Tagged with the given tags.

    The journal may support tagging of events that are used by the EventsByTag query and it may support specifying the tags via an akka.persistence.journal.EventAdapter that wraps the events in a Tagged with the given tags. The journal may support other ways of doing tagging. Please consult the documentation of the specific journal implementation for more information.

    The journal will unwrap the event and store the payload.

  14. trait WriteEventAdapter extends AnyRef

    Permalink

    Facility to convert to specialised data models, as may be required by specialized persistence Journals.

    Facility to convert to specialised data models, as may be required by specialized persistence Journals.

    Typical use cases include (but are not limited to):

    • adding metadata, a.k.a. "tagging" - by wrapping objects into tagged counterparts
    • manually converting to the Journals storage format, such as JSON, BSON or any specialised binary format
    • splitting up large events into sequences of smaller ones

Value Members

  1. object EmptyEventSeq extends EventSeq with EmptyEventSeq

    Permalink
  2. object EventSeq

    Permalink
  3. object IdentityEventAdapter extends EventAdapter with Product with Serializable

    Permalink

    No-op model adapter which passes through the incoming events as-is.

  4. object PersistencePluginProxy

    Permalink
  5. object PersistencePluginProxyExtension extends ExtensionId[PersistencePluginProxyExtensionImpl] with ExtensionIdProvider

    Permalink
  6. package japi

    Permalink
  7. package leveldb

    Permalink

Ungrouped