PersistentRepr

org.apache.pekko.persistence.PersistentRepr
See thePersistentRepr companion object

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

Attributes

See also
Companion
object
Source
Persistent.scala
Graph
Supertypes
trait Message
trait Serializable
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

Not used, can always be false.

Not used, can always be false.

Attributes

Source
Persistent.scala

Returns the event adapter manifest for the persistent payload (event) if available May be "" if event adapter manifest is not used. Note that this is not the same as the manifest of the serialized representation of the payload.

Returns the event adapter manifest for the persistent payload (event) if available May be "" if event adapter manifest is not used. Note that this is not the same as the manifest of the serialized representation of the payload.

Attributes

Source
Persistent.scala
def metadata: Option[Any]

Attributes

Source
Persistent.scala
def payload: Any

This persistent message's payload (the event).

This persistent message's payload (the event).

Attributes

Source
Persistent.scala

Persistent id that journals a persistent message

Persistent id that journals a persistent message

Attributes

Source
Persistent.scala

Not used, can be null

Not used, can be null

Attributes

Source
Persistent.scala

This persistent message's sequence number.

This persistent message's sequence number.

Attributes

Source
Persistent.scala

The timestamp is the time the event was stored, in milliseconds since midnight, January 1, 1970 UTC (same as System.currentTimeMillis).

The timestamp is the time the event was stored, in milliseconds since midnight, January 1, 1970 UTC (same as System.currentTimeMillis).

Value 0 is used if undefined.

Attributes

Source
Persistent.scala
def update(sequenceNr: Long, persistenceId: String, deleted: Boolean, sender: ActorRef, writerUuid: String): PersistentRepr

Creates a new copy of this PersistentRepr.

Creates a new copy of this PersistentRepr.

Attributes

Source
Persistent.scala

Creates a new persistent message with the specified event adapter manifest.

Creates a new persistent message with the specified event adapter manifest.

Attributes

Source
Persistent.scala
def withMetadata(metadata: Any): PersistentRepr

Attributes

Source
Persistent.scala
def withPayload(payload: Any): PersistentRepr

Creates a new persistent message with the specified payload (event).

Creates a new persistent message with the specified payload (event).

Attributes

Source
Persistent.scala
def withTimestamp(newTimestamp: Long): PersistentRepr

Attributes

Source
Persistent.scala

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

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

Attributes

Source
Persistent.scala