Class PersistenceQuery

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.pekko.persistence.PersistencePlugin

        org.apache.pekko.persistence.PersistencePlugin.PluginHolder<ScalaDsl extends java.lang.Object,​JavaDsl extends java.lang.Object>, org.apache.pekko.persistence.PersistencePlugin.PluginHolder$
    • Field Summary

      • Fields inherited from class org.apache.pekko.persistence.PersistencePlugin

        org$apache$pekko$persistence$PersistencePlugin$$ev, org$apache$pekko$persistence$PersistencePlugin$$system
    • 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 pekko.persistence.query.scaladsl.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.

      • readJournalFor

        public final <T extends ReadJournal> T readJournalFor​(java.lang.String readJournalPluginId)
        Scala API: Returns the pekko.persistence.query.scaladsl.ReadJournal specified by the given read journal configuration entry.
      • 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 pekko.persistence.query.javadsl.ReadJournal specified by the given read journal configuration entry.
      • getReadJournalFor

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