Class Persistence$

java.lang.Object
org.apache.pekko.persistence.Persistence$
All Implemented Interfaces:
ExtensionId<Persistence>, ExtensionIdProvider

public class Persistence$ extends Object implements ExtensionId<Persistence>, ExtensionIdProvider
Persistence extension provider.
  • Field Details

    • MODULE$

      public static final Persistence$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • Persistence$

      public Persistence$()
  • Method Details

    • get

      public Persistence get(ActorSystem system)
      Java API.
      Specified by:
      get in interface ExtensionId<Persistence>
    • get

      Description copied from interface: ExtensionId
      Returns an instance of the extension identified by this ExtensionId instance. Java API For extensions written in Scala that are to be used from Java also, this method should be overridden to get correct return type.
      
       override def get(system: ClassicActorSystemProvider): TheExtension = super.get(system)
       
      Specified by:
      get in interface ExtensionId<Persistence>
    • createExtension

      public Persistence createExtension(ExtendedActorSystem system)
      Description copied from interface: ExtensionId
      Is used by Pekko to instantiate the Extension identified by this ExtensionId, internal use only.
      Specified by:
      createExtension in interface ExtensionId<Persistence>
    • lookup

      public Persistence$ lookup()
      Description copied from interface: ExtensionIdProvider
      Returns the canonical ExtensionId for this Extension
      Specified by:
      lookup in interface ExtensionIdProvider
    • JournalFallbackConfigPath

      public String JournalFallbackConfigPath()
      Config path to fall-back to if a setting is not defined in a specific plugin's config section
    • SnapshotStoreFallbackConfigPath

      public String SnapshotStoreFallbackConfigPath()
      Config path to fall-back to if a setting is not defined in a specific snapshot plugin's config section