Packages

t

akka.persistence.state.javadsl

DurableStateUpdateWithChangeEventStore

trait DurableStateUpdateWithChangeEventStore[A] extends DurableStateUpdateStore[A]

API May Change: API for updating durable state objects and storing additional change event.

For Scala API see akka.persistence.state.scaladsl.DurableStateUpdateWithChangeEventStore.

Annotations
@ApiMayChange()
Source
DurableStateUpdateWithChangeEventStore.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DurableStateUpdateWithChangeEventStore
  2. DurableStateUpdateStore
  3. DurableStateStore
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def deleteObject(persistenceId: String, revision: Long, changeEvent: Any): CompletionStage[Done]
  2. abstract def deleteObject(persistenceId: String, revision: Long): CompletionStage[Done]
    Definition Classes
    DurableStateUpdateStore
  3. abstract def getObject(persistenceId: String): CompletionStage[GetObjectResult[A]]
    Definition Classes
    DurableStateStore
  4. abstract def upsertObject(persistenceId: String, revision: Long, value: A, tag: String, changeEvent: Any): CompletionStage[Done]

    The changeEvent is written to the event journal.

    The changeEvent is written to the event journal. Same persistenceId is used in the journal and the revision is used as sequenceNr.

    revision

    sequence number for optimistic locking. starts at 1.

  5. abstract def upsertObject(persistenceId: String, revision: Long, value: A, tag: String): CompletionStage[Done]

    revision

    sequence number for optimistic locking. starts at 1.

    Definition Classes
    DurableStateUpdateStore
  6. abstract def deleteObject(persistenceId: String): CompletionStage[Done]
    Definition Classes
    DurableStateUpdateStore
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.20) Use the deleteObject overload with revision instead.