!per #3729 Journaling protocol optimization
- internal batching of individually received Persistent messages - testing fault tolerance of Processor in presence of random * journaling failures * processing failures
This commit is contained in:
parent
5af6d0711a
commit
6e2f80bab0
39 changed files with 563 additions and 364 deletions
|
|
@ -14,11 +14,8 @@ import akka.persistence.PersistentRepr
|
|||
* Java API: abstract journal, optimized for synchronous writes.
|
||||
*/
|
||||
abstract class SyncWriteJournal extends AsyncReplay with SSyncWriteJournal with SyncWritePlugin {
|
||||
final def write(persistent: PersistentRepr) =
|
||||
doWrite(persistent)
|
||||
|
||||
final def writeBatch(persistentBatch: immutable.Seq[PersistentRepr]) =
|
||||
doWriteBatch(persistentBatch.asJava)
|
||||
final def write(persistentBatch: immutable.Seq[PersistentRepr]) =
|
||||
doWrite(persistentBatch.asJava)
|
||||
|
||||
final def delete(processorId: String, fromSequenceNr: Long, toSequenceNr: Long, permanent: Boolean) =
|
||||
doDelete(processorId, fromSequenceNr, toSequenceNr, permanent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue