org.apache.pekko.persistence.journal

Members list

Type members

Classlikes

Asynchronous message replay and sequence number recovery interface.

Asynchronous message replay and sequence number recovery interface.

Attributes

Source
AsyncRecovery.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Thrown if replay inactivity exceeds a specified timeout.

Thrown if replay inactivity exceeds a specified timeout.

Attributes

Source
AsyncWriteProxy.scala
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

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

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

Attributes

Source
AsyncWriteJournal.scala
Supertypes
trait Actor
class Object
trait Matchable
class Any
Known subtypes
sealed trait EmptyEventSeq extends EventSeq

Attributes

Companion
object
Source
EventAdapter.scala
Supertypes
class EventSeq
class Object
trait Matchable
class Any
Known subtypes
object EmptyEventSeq
object EmptyEventSeq extends EmptyEventSeq

Attributes

Companion
trait
Source
EventAdapter.scala
Supertypes
trait Sum
trait Mirror
class EventSeq
class Object
trait Matchable
class Any
Show all
Self type

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.

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

Attributes

Source
EventAdapter.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class EventAdapters(map: ConcurrentHashMap[Class[_], EventAdapter], bindings: Seq[(Class[_], EventAdapter)], log: LoggingAdapter)

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

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

Attributes

Source
EventAdapters.scala
Supertypes
class Object
trait Matchable
class Any
sealed abstract class EventSeq

Attributes

Companion
object
Source
EventAdapter.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object EmptyEventSeq
class EventsSeq[E]
object EventSeq

Attributes

Companion
class
Source
EventAdapter.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
EventSeq.type
final case class EventsSeq[E](events: Seq[E]) extends EventSeq

Attributes

Source
EventAdapter.scala
Supertypes
trait Serializable
trait Product
trait Equals
class EventSeq
class Object
trait Matchable
class Any
Show all
case object IdentityEventAdapter extends EventAdapter

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

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

Attributes

Source
EventAdapter.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait EventAdapter
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Companion
class
Source
PersistencePluginProxy.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final class PersistencePluginProxy(config: Config) extends Actor, Stash, ActorLogging

Attributes

Companion
object
Source
PersistencePluginProxy.scala
Supertypes
trait ActorLogging
trait Stash
trait Actor
class Object
trait Matchable
class Any
Show all

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

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

Value parameters

system

The actor system to initialize the extension for

Attributes

Source
PersistencePluginProxy.scala
Supertypes
trait Extension
class Object
trait Matchable
class Any

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"

Attributes

Source
EventAdapter.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
final case class SingleEventSeq(event: Any) extends EventSeq

Attributes

Source
EventAdapter.scala
Supertypes
trait Serializable
trait Product
trait Equals
class EventSeq
class Object
trait Matchable
class Any
Show all
case class Tagged(payload: Any, tags: Set[String])

The journal may support tagging of events that are used by the EventsByTag query and it may support specifying the tags via an pekko.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 may support tagging of events that are used by the EventsByTag query and it may support specifying the tags via an pekko.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.

Attributes

Source
Tagged.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

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

Attributes

Source
EventAdapter.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes