Update to a working version of Scalariform
This commit is contained in:
parent
cae070bd93
commit
c66ce62d63
616 changed files with 5966 additions and 5436 deletions
|
|
@ -8,7 +8,7 @@ package akka.persistence.query
|
|||
* [[akka.persistence.query.scaladsl.EventsByTagQuery]] query, or similar queries.
|
||||
*/
|
||||
final case class EventEnvelope(
|
||||
offset: Long,
|
||||
offset: Long,
|
||||
persistenceId: String,
|
||||
sequenceNr: Long,
|
||||
event: Any)
|
||||
sequenceNr: Long,
|
||||
event: Any)
|
||||
|
|
|
|||
|
|
@ -71,7 +71,8 @@ class PersistenceQuery(system: ExtendedActorSystem) extends Extension {
|
|||
}
|
||||
|
||||
private def createPlugin(configPath: String): ReadJournalProvider = {
|
||||
require(!isEmpty(configPath) && system.settings.config.hasPath(configPath),
|
||||
require(
|
||||
!isEmpty(configPath) && system.settings.config.hasPath(configPath),
|
||||
s"'reference.conf' is missing persistence read journal plugin config path: '${configPath}'")
|
||||
val pluginConfig = system.settings.config.getConfig(configPath)
|
||||
val pluginClassName = pluginConfig.getString("class")
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ private[akka] abstract class AbstractEventsByPersistenceIdPublisher(
|
|||
private[akka] class LiveEventsByPersistenceIdPublisher(
|
||||
persistenceId: String, fromSequenceNr: Long, override val toSequenceNr: Long,
|
||||
refreshInterval: FiniteDuration,
|
||||
maxBufSize: Int, writeJournalPluginId: String)
|
||||
maxBufSize: Int, writeJournalPluginId: String)
|
||||
extends AbstractEventsByPersistenceIdPublisher(
|
||||
persistenceId, fromSequenceNr, maxBufSize, writeJournalPluginId) {
|
||||
import EventsByPersistenceIdPublisher._
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ private[akka] abstract class AbstractEventsByTagPublisher(
|
|||
private[akka] class LiveEventsByTagPublisher(
|
||||
tag: String, fromOffset: Long, override val toOffset: Long,
|
||||
refreshInterval: FiniteDuration,
|
||||
maxBufSize: Int, writeJournalPluginId: String)
|
||||
maxBufSize: Int, writeJournalPluginId: String)
|
||||
extends AbstractEventsByTagPublisher(
|
||||
tag, fromOffset, maxBufSize, writeJournalPluginId) {
|
||||
import EventsByTagPublisher._
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue