Package akka.persistence.state
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
akka.persistence.state.scaladsl.DurableStateStore
andakka.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()
TheDurableStateStore
implementation for the Java API.DurableStateStore<java.lang.Object>
scaladslDurableStateStore()
TheDurableStateStore
implementation for the Scala API.
-
-
-
Method Detail
-
javadslDurableStateStore
DurableStateStore<java.lang.Object> javadslDurableStateStore()
TheDurableStateStore
implementation for the Java API. This corresponds to the instance that is returned byDurableStateStoreRegistry.getDurableStateStoreFor(java.lang.Class<T>, java.lang.String)
.
-
scaladslDurableStateStore
DurableStateStore<java.lang.Object> scaladslDurableStateStore()
TheDurableStateStore
implementation for the Scala API. This corresponds to the instance that is returned byDurableStateStoreRegistry.durableStateStoreFor(java.lang.String)
.
-
-