Packages

t

org.apache.pekko.persistence.state

DurableStateStoreProvider

trait DurableStateStoreProvider extends AnyRef

A durable state store plugin must implement a class that implements this trait. It provides the concrete implementations for the Java and Scala APIs.

A durable state store plugin plugin must provide implementations for both org.apache.pekko.persistence.state.scaladsl.DurableStateStore and org.apache.pekko.persistence.state.javadsl.DurableStateStore. One of the implementations can delegate to the other.

Source
DurableStateStoreProvider.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DurableStateStoreProvider
  2. AnyRef
  3. 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 javadslDurableStateStore(): DurableStateStore[AnyRef]

    The DurableStateStore implementation for the Java API.

    The DurableStateStore implementation for the Java API. This corresponds to the instance that is returned by DurableStateStoreRegistry#getDurableStateStoreFor.

  2. abstract def scaladslDurableStateStore(): DurableStateStore[Any]

    The ReadJournal implementation for the Scala API.

    The ReadJournal implementation for the Scala API. This corresponds to the instance that is returned by DurableStateStoreRegistry#durableStateStoreFor.