Package akka.persistence.query
Class PersistenceQuery
- java.lang.Object
 - 
- akka.persistence.PersistencePlugin<ReadJournal,ReadJournal,ReadJournalProvider>
 - 
- akka.persistence.query.PersistenceQuery
 
 
 
- 
- All Implemented Interfaces:
 Extension
public class PersistenceQuery extends akka.persistence.PersistencePlugin<ReadJournal,ReadJournal,ReadJournalProvider> implements Extension
 
- 
- 
Constructor Summary
Constructors Constructor Description PersistenceQuery(ExtendedActorSystem system) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Tapply(ActorSystem system)static Tapply(ClassicActorSystemProvider system)static PersistenceQuerycreateExtension(ExtendedActorSystem system)static booleanequals(java.lang.Object other)static PersistenceQueryget(ActorSystem system)static PersistenceQueryget(ClassicActorSystemProvider system)<T extends ReadJournal>
TgetReadJournalFor(java.lang.Class<T> clazz, java.lang.String readJournalPluginId)<T extends ReadJournal>
TgetReadJournalFor(java.lang.Class<T> clazz, java.lang.String readJournalPluginId, com.typesafe.config.Config readJournalPluginConfig)Java API: Returns theReadJournalspecified by the given read journal configuration entry.static inthashCode()static PersistenceQuery$lookup()<T extends ReadJournal>
TreadJournalFor(java.lang.String readJournalPluginId)Scala API: Returns theReadJournalspecified by the given read journal configuration entry.<T extends ReadJournal>
TreadJournalFor(java.lang.String readJournalPluginId, com.typesafe.config.Config readJournalPluginConfig)Scala API: Returns theReadJournalspecified by the given read journal configuration entry. 
 - 
 
- 
- 
Constructor Detail
- 
PersistenceQuery
public PersistenceQuery(ExtendedActorSystem system)
 
 - 
 
- 
Method Detail
- 
get
public static PersistenceQuery get(ActorSystem system)
 
- 
get
public static PersistenceQuery get(ClassicActorSystemProvider system)
 
- 
createExtension
public static PersistenceQuery createExtension(ExtendedActorSystem system)
 
- 
lookup
public static PersistenceQuery$ lookup()
 
- 
apply
public static T apply(ActorSystem system)
 
- 
apply
public static T apply(ClassicActorSystemProvider 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 theReadJournalspecified 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 theReadJournalspecified 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 theReadJournalspecified by the given read journal configuration entry. 
- 
getReadJournalFor
public final <T extends ReadJournal> T getReadJournalFor(java.lang.Class<T> clazz, java.lang.String readJournalPluginId)
 
 - 
 
 -