Packages

trait PersistentRepr extends Message

Plugin API: representation of a persistent message in the journal plugin API.

Source
Persistent.scala
See also

akka.persistence.journal.AsyncWriteJournal

akka.persistence.journal.AsyncRecovery

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PersistentRepr
  2. Message
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def deleted: Boolean

    Not used in new records stored with Akka v2.4, but old records from v2.3 may have this as true if it was a non-permanent delete.

  2. abstract def manifest: String

    Returns the persistent payload's manifest if available

  3. abstract def payload: Any

    This persistent message's payload.

  4. abstract def persistenceId: String

    Persistent id that journals a persistent message

  5. abstract def sender: ActorRef

    Sender of this message.

  6. abstract def sequenceNr: Long

    This persistent message's sequence number.

  7. abstract def update(sequenceNr: Long = sequenceNr, persistenceId: String = persistenceId, deleted: Boolean = deleted, sender: ActorRef = sender, writerUuid: String = writerUuid): PersistentRepr

    Creates a new copy of this PersistentRepr.

  8. abstract def withManifest(manifest: String): PersistentRepr

    Creates a new persistent message with the specified manifest.

  9. abstract def withPayload(payload: Any): PersistentRepr

    Creates a new persistent message with the specified payload.

  10. abstract def writerUuid: String

    Unique identifier of the writing persistent actor.

    Unique identifier of the writing persistent actor. Used to detect anomalies with overlapping writes from multiple persistent actors, which can result in inconsistent replays.