Class PersistenceQuery

    • Method Detail

      • apply

        public static T apply​(ActorSystem system)
      • hashCode

        public static final int hashCode()
      • equals

        public static final boolean equals​(java.lang.Object other)
      • readJournalFor

        public final <T extends ReadJournal> T readJournalFor​(java.lang.String readJournalPluginId,
                                                              com.typesafe.config.Config readJournalPluginConfig)
        Scala API: Returns the ReadJournal specified by the given read journal configuration entry.

        The provided readJournalPluginConfig will be used to configure the journal plugin instead of the actor system config.

        Parameters:
        readJournalPluginId - (undocumented)
        readJournalPluginConfig - (undocumented)
        Returns:
        (undocumented)
      • readJournalFor

        public final <T extends ReadJournal> T readJournalFor​(java.lang.String readJournalPluginId)
        Scala API: Returns the ReadJournal specified by the given read journal configuration entry.
        Parameters:
        readJournalPluginId - (undocumented)
        Returns:
        (undocumented)
      • getReadJournalFor

        public final <T extends ReadJournal> T getReadJournalFor​(java.lang.Class<T> clazz,
                                                                 java.lang.String readJournalPluginId,
                                                                 com.typesafe.config.Config readJournalPluginConfig)
        Java API: Returns the ReadJournal specified by the given read journal configuration entry.
        Parameters:
        clazz - (undocumented)
        readJournalPluginId - (undocumented)
        readJournalPluginConfig - (undocumented)
        Returns:
        (undocumented)
      • getReadJournalFor

        public final <T extends ReadJournal> T getReadJournalFor​(java.lang.Class<T> clazz,
                                                                 java.lang.String readJournalPluginId)