Interface DurableStateStoreProvider
-
- All Known Implementing Classes:
PersistenceTestKitDurableStateStoreProvider
public interface DurableStateStoreProviderA 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.DurableStateStoreandorg.apache.pekko.persistence.state.javadsl.DurableStateStore. One of the implementations can delegate to the other.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DurableStateStore<java.lang.Object>javadslDurableStateStore()TheDurableStateStoreimplementation for the Java API.DurableStateStore<java.lang.Object>scaladslDurableStateStore()TheReadJournalimplementation for the Scala API.
-
-
-
Method Detail
-
javadslDurableStateStore
DurableStateStore<java.lang.Object> javadslDurableStateStore()
TheDurableStateStoreimplementation for the Java API. This corresponds to the instance that is returned byDurableStateStoreRegistry#getDurableStateStoreFor.
-
scaladslDurableStateStore
DurableStateStore<java.lang.Object> scaladslDurableStateStore()
TheReadJournalimplementation for the Scala API. This corresponds to the instance that is returned byDurableStateStoreRegistry#durableStateStoreFor.
-
-