Modifier and Type | Class and Description |
---|---|
static class |
PersistenceQuery.PluginHolder
INTERNAL API.
|
static class |
PersistenceQuery.PluginHolder$ |
Constructor and Description |
---|
PersistenceQuery(ExtendedActorSystem system) |
Modifier and Type | Method and Description |
---|---|
static PersistenceQuery |
createExtension(ExtendedActorSystem system) |
static PersistenceQuery |
get(ActorSystem system)
Java API.
|
<T extends ReadJournal> |
getReadJournalFor(java.lang.Class<T> clazz,
java.lang.String readJournalPluginId)
Java API: Returns the
ReadJournal specified by the given
read journal configuration entry. |
static PersistenceQuery$ |
lookup() |
<T extends ReadJournal> |
readJournalFor(java.lang.String readJournalPluginId)
Scala API: Returns the
ReadJournal specified by the given
read journal configuration entry. |
public PersistenceQuery(ExtendedActorSystem system)
public static PersistenceQuery get(ActorSystem system)
system
- (undocumented)public static PersistenceQuery createExtension(ExtendedActorSystem system)
public static PersistenceQuery$ lookup()
public final <T extends ReadJournal> T readJournalFor(java.lang.String readJournalPluginId)
ReadJournal
specified by the given
read journal configuration entry.readJournalPluginId
- (undocumented)public final <T extends ReadJournal> T getReadJournalFor(java.lang.Class<T> clazz, java.lang.String readJournalPluginId)
ReadJournal
specified by the given
read journal configuration entry.clazz
- (undocumented)readJournalPluginId
- (undocumented)