DurableStateUpdateStore

org.apache.pekko.persistence.state.scaladsl.DurableStateUpdateStore

API for updating durable state objects.

For Java API see pekko.persistence.state.javadsl.DurableStateUpdateStore.

Attributes

Source
DurableStateUpdateStore.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def deleteObject(persistenceId: String, revision: Long): Future[Done]

Attributes

Source
DurableStateUpdateStore.scala
def upsertObject(persistenceId: String, revision: Long, value: A, tag: String): Future[Done]

Value parameters

seqNr

sequence number for optimistic locking. starts at 1.

Attributes

Source
DurableStateUpdateStore.scala

Deprecated methods

def deleteObject(persistenceId: String): Future[Done]

Attributes

Deprecated
[Since version Akka 2.6.20] Use the deleteObject overload with revision instead.
Source
DurableStateUpdateStore.scala

Inherited methods

def getObject(persistenceId: String): Future[GetObjectResult[A]]

Attributes

Inherited from:
DurableStateStore
Source
DurableStateStore.scala