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 Summary
Modifier and TypeMethodDescriptionTheDurableStateStoreimplementation for the Java API.TheReadJournalimplementation for the Scala API.
-
Method Details
-
javadslDurableStateStore
DurableStateStore<Object> javadslDurableStateStore()TheDurableStateStoreimplementation for the Java API. This corresponds to the instance that is returned byDurableStateStoreRegistry#getDurableStateStoreFor. -
scaladslDurableStateStore
DurableStateStore<Object> scaladslDurableStateStore()TheReadJournalimplementation for the Scala API. This corresponds to the instance that is returned byDurableStateStoreRegistry#durableStateStoreFor.
-