Class PersistenceQuery
java.lang.Object
org.apache.pekko.persistence.PersistencePlugin<ReadJournal,ReadJournal,ReadJournalProvider>
org.apache.pekko.persistence.query.PersistenceQuery
- All Implemented Interfaces:
Extension
public class PersistenceQuery
extends org.apache.pekko.persistence.PersistencePlugin<ReadJournal,ReadJournal,ReadJournalProvider>
implements Extension
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.apache.pekko.persistence.PersistencePlugin
org$apache$pekko$persistence$PersistencePlugin$$ev, org$apache$pekko$persistence$PersistencePlugin$$system -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Tapply(ActorSystem system) static Tapply(ClassicActorSystemProvider system) static PersistenceQuerycreateExtension(ExtendedActorSystem system) static final booleanstatic PersistenceQueryget(ActorSystem system) static PersistenceQueryget(ClassicActorSystemProvider system) final <T extends ReadJournal>
TgetReadJournalFor(Class<T> clazz, String readJournalPluginId) final <T extends ReadJournal>
TgetReadJournalFor(Class<T> clazz, String readJournalPluginId, com.typesafe.config.Config readJournalPluginConfig) Java API: Returns thepekko.persistence.query.javadsl.ReadJournalspecified by the given read journal configuration entry.static final inthashCode()static PersistenceQuery$lookup()final <T extends ReadJournal>
TreadJournalFor(String readJournalPluginId) Scala API: Returns thepekko.persistence.query.scaladsl.ReadJournalspecified by the given read journal configuration entry.final <T extends ReadJournal>
TreadJournalFor(String readJournalPluginId, com.typesafe.config.Config readJournalPluginConfig) Scala API: Returns thepekko.persistence.query.scaladsl.ReadJournalspecified by the given read journal configuration entry.Methods inherited from class org.apache.pekko.persistence.PersistencePlugin
org$apache$pekko$persistence$PersistencePlugin$$createPlugin, org$apache$pekko$persistence$PersistencePlugin$$instantiate$1, pluginFor
-
Constructor Details
-
PersistenceQuery
-
-
Method Details
-
get
-
get
-
createExtension
-
lookup
-
apply
-
apply
-
hashCode
public static final int hashCode() -
equals
-
readJournalFor
public final <T extends ReadJournal> T readJournalFor(String readJournalPluginId, com.typesafe.config.Config readJournalPluginConfig) Scala API: Returns thepekko.persistence.query.scaladsl.ReadJournalspecified 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
Scala API: Returns thepekko.persistence.query.scaladsl.ReadJournalspecified by the given read journal configuration entry. -
getReadJournalFor
public final <T extends ReadJournal> T getReadJournalFor(Class<T> clazz, String readJournalPluginId, com.typesafe.config.Config readJournalPluginConfig) Java API: Returns thepekko.persistence.query.javadsl.ReadJournalspecified by the given read journal configuration entry. -
getReadJournalFor
public final <T extends ReadJournal> T getReadJournalFor(Class<T> clazz, String readJournalPluginId)
-