Interface DurableStateStoreProvider

  • All Known Implementing Classes:
    PersistenceTestKitDurableStateStoreProvider

    public interface DurableStateStoreProvider
    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.

    • Method Detail

      • javadslDurableStateStore

        DurableStateStore<java.lang.Object> javadslDurableStateStore()
        The DurableStateStore implementation for the Java API. This corresponds to the instance that is returned by DurableStateStoreRegistry#getDurableStateStoreFor.
      • scaladslDurableStateStore

        DurableStateStore<java.lang.Object> scaladslDurableStateStore()
        The ReadJournal implementation for the Scala API. This corresponds to the instance that is returned by DurableStateStoreRegistry#durableStateStoreFor.