|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SyncWriteJournal
Abstract journal, optimized for synchronous writes.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface akka.actor.Actor |
---|
Actor.emptyBehavior$ |
Method Summary | |
---|---|
void |
deleteMessages(scala.collection.immutable.Seq<PersistentId> messageIds,
boolean permanent)
Plugin API: synchronously deletes messages identified by messageIds from the
journal. |
void |
deleteMessagesTo(java.lang.String persistenceId,
long toSequenceNr,
boolean permanent)
Plugin API: synchronously deletes all persistent messages up to toSequenceNr
(inclusive). |
Persistence |
extension()
|
boolean |
publish()
|
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
receive()
This defines the initial actor behavior, it must return a partial function with the actor logic. |
void |
writeConfirmations(scala.collection.immutable.Seq<PersistentConfirmation> confirmations)
Plugin API: synchronously writes a batch of delivery confirmations to the journal. |
void |
writeMessages(scala.collection.immutable.Seq<PersistentRepr> messages)
Plugin API: synchronously writes a batch of persistent messages to the journal. |
Methods inherited from interface akka.actor.Actor |
---|
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, postRestart, postStop, preRestart, preStart, self, sender, supervisorStrategy, unhandled |
Methods inherited from interface akka.persistence.journal.WriteJournalBase |
---|
persistentPrepareWrite, preparePersistentBatch |
Methods inherited from interface akka.persistence.journal.AsyncRecovery |
---|
asyncReadHighestSequenceNr, asyncReplayMessages |
Method Detail |
---|
Persistence extension()
boolean publish()
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
Actor
receive
in interface Actor
void writeMessages(scala.collection.immutable.Seq<PersistentRepr> messages)
messages
- (undocumented)void writeConfirmations(scala.collection.immutable.Seq<PersistentConfirmation> confirmations)
confirmations
- (undocumented)void deleteMessages(scala.collection.immutable.Seq<PersistentId> messageIds, boolean permanent)
messageIds
from the
journal. If permanent
is set to false
, the persistent messages are marked as
deleted, otherwise they are permanently deleted.
messageIds
- (undocumented)permanent
- (undocumented)void deleteMessagesTo(java.lang.String persistenceId, long toSequenceNr, boolean permanent)
toSequenceNr
(inclusive). If permanent
is set to false
, the persistent messages are marked
as deleted, otherwise they are permanently deleted.
persistenceId
- (undocumented)toSequenceNr
- (undocumented)permanent
- (undocumented)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |