UpdatedDurableState

org.apache.pekko.persistence.query.UpdatedDurableState
See theUpdatedDurableState companion object
final class UpdatedDurableState[A](val persistenceId: String, val revision: Long, val value: A, val offset: Offset, val timestamp: Long) extends DurableStateChange[A]

Type parameters

A

the type of the value

Value parameters

offset

The offset that can be used in next changes or currentChanges query.

persistenceId

The persistence id of the origin entity.

revision

The revision number from the origin entity.

timestamp

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

value

The object value.

Attributes

Companion
object
Source
DurableStateChange.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete fields

override val offset: Offset

The offset that can be used in next changes or currentChanges query.

The offset that can be used in next changes or currentChanges query.

Attributes

Source
DurableStateChange.scala

The persistence id of the origin entity.

The persistence id of the origin entity.

Attributes

Source
DurableStateChange.scala
val revision: Long

Attributes

Source
DurableStateChange.scala

Attributes

Source
DurableStateChange.scala
val value: A

Attributes

Source
DurableStateChange.scala