Package akka.persistence.state
Class DurableStateStoreRegistry
- java.lang.Object
-
- akka.persistence.PersistencePlugin<DurableStateStore<?>,DurableStateStore<?>,DurableStateStoreProvider>
-
- akka.persistence.state.DurableStateStoreRegistry
-
- All Implemented Interfaces:
Extension
public class DurableStateStoreRegistry extends akka.persistence.PersistencePlugin<DurableStateStore<?>,DurableStateStore<?>,DurableStateStoreProvider> implements Extension
-
-
Constructor Summary
Constructors Constructor Description DurableStateStoreRegistry(ExtendedActorSystem system)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static T
apply(ActorSystem system)
static T
apply(ClassicActorSystemProvider system)
static DurableStateStoreRegistry
createExtension(ExtendedActorSystem system)
<T extends DurableStateStore<?>>
TdurableStateStoreFor(java.lang.String pluginId)
Scala API: Returns theDurableStateStore
specified by the given configuration entry.static boolean
equals(java.lang.Object other)
static DurableStateStoreRegistry
get(ActorSystem system)
static DurableStateStoreRegistry
get(ClassicActorSystemProvider system)
<T extends DurableStateStore<?>>
TgetDurableStateStoreFor(java.lang.Class<T> clazz, java.lang.String pluginId)
Java API: Returns theDurableStateStore
specified by the given configuration entry.static int
hashCode()
static DurableStateStoreRegistry$
lookup()
-
-
-
Constructor Detail
-
DurableStateStoreRegistry
public DurableStateStoreRegistry(ExtendedActorSystem system)
-
-
Method Detail
-
get
public static DurableStateStoreRegistry get(ActorSystem system)
-
get
public static DurableStateStoreRegistry get(ClassicActorSystemProvider system)
-
createExtension
public static DurableStateStoreRegistry createExtension(ExtendedActorSystem system)
-
lookup
public static DurableStateStoreRegistry$ lookup()
-
apply
public static T apply(ActorSystem system)
-
apply
public static T apply(ClassicActorSystemProvider system)
-
hashCode
public static final int hashCode()
-
equals
public static final boolean equals(java.lang.Object other)
-
durableStateStoreFor
public final <T extends DurableStateStore<?>> T durableStateStoreFor(java.lang.String pluginId)
Scala API: Returns theDurableStateStore
specified by the given configuration entry.
-
getDurableStateStoreFor
public final <T extends DurableStateStore<?>> T getDurableStateStoreFor(java.lang.Class<T> clazz, java.lang.String pluginId)
Java API: Returns theDurableStateStore
specified by the given configuration entry.
-
-