Class Persistence$

    • Field Detail

      • MODULE$

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

      • Persistence$

        public Persistence$()
    • Method Detail

      • get

        public Persistence get​(ActorSystem system)
        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: ActorSystem): TheExtension = super.get(system)
         

        Specified by:
        get in interface ExtensionId<Persistence>
        Parameters:
        system - (undocumented)
        Returns:
        (undocumented)
      • JournalFallbackConfigPath

        public java.lang.String JournalFallbackConfigPath()
      • SnapshotStoreFallbackConfigPath

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

        public void verifyPluginConfigExists​(com.typesafe.config.Config config,
                                             java.lang.String pluginId,
                                             java.lang.String pluginType)
        INTERNAL API
        Parameters:
        config - (undocumented)
        pluginId - (undocumented)
        pluginType - (undocumented)
        Throws:
        java.lang.IllegalArgumentException - if config path for the pluginId doesn't exist
      • verifyPluginConfigIsDefined

        public void verifyPluginConfigIsDefined​(java.lang.String pluginId,
                                                java.lang.String pluginType)
        INTERNAL API
        Parameters:
        pluginId - (undocumented)
        pluginType - (undocumented)
        Throws:
        java.lang.IllegalArgumentException - if pluginId is empty (undefined)