Class DurableStateStoreRegistry

java.lang.Object
org.apache.pekko.persistence.PersistencePlugin<DurableStateStore<?>,DurableStateStore<?>,DurableStateStoreProvider>
org.apache.pekko.persistence.state.DurableStateStoreRegistry
All Implemented Interfaces:
Extension

public class DurableStateStoreRegistry extends org.apache.pekko.persistence.PersistencePlugin<DurableStateStore<?>,DurableStateStore<?>,DurableStateStoreProvider> implements Extension
  • Constructor Details

  • Method Details

    • get

      public static DurableStateStoreRegistry get(ActorSystem system)
    • get

    • 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(Object other)
    • durableStateStoreFor

      public final <T extends DurableStateStore<?>> T durableStateStoreFor(String pluginId)
      Scala API: Returns the pekko.persistence.state.scaladsl.DurableStateStore specified by the given configuration entry.
    • durableStateStoreFor

      public final <T extends DurableStateStore<?>> T durableStateStoreFor(String pluginId, com.typesafe.config.Config runtimeConfig)
      Scala API: Returns the pekko.persistence.state.scaladsl.DurableStateStore specified by the given configuration entry. The provided runtimeConfig is used to configure the plugin at runtime, taking precedence over the plugin configuration defined in the actor system configuration.

      Since:
      2.0.0
    • getDurableStateStoreFor

      public final <T extends DurableStateStore<?>> T getDurableStateStoreFor(Class<T> clazz, String pluginId)
      Java API: Returns the pekko.persistence.state.javadsl.DurableStateStore specified by the given configuration entry.
    • getDurableStateStoreFor

      public final <T extends DurableStateStore<?>> T getDurableStateStoreFor(Class<T> clazz, String pluginId, com.typesafe.config.Config runtimeConfig)
      Java API: Returns the pekko.persistence.state.javadsl.DurableStateStore specified by the given configuration entry. The provided runtimeConfig is used to configure the plugin at runtime, taking precedence over the plugin configuration defined in the actor system configuration.

      Since:
      2.0.0