BatchingSqliteJournal Class |
Namespace: Akka.Persistence.Sqlite.Journal
The BatchingSqliteJournal type exposes the following members.
Name | Description | |
---|---|---|
BatchingSqliteJournal(BatchingSqliteJournalSetup) |
TBD
| |
BatchingSqliteJournal(Config) |
TBD
|
Name | Description | |
---|---|---|
AllPersistenceIdsSql |
SQL query executed as result of GetCurrentPersistenceIds request to journal.
It's a part of persistence query protocol.
(Inherited from BatchingSqlJournalTConnection, TCommand.) | |
ByPersistenceIdSql |
SQL query executed as result of ReplayMessages request to journal.
It's also part of persistence query protocol.
(Inherited from BatchingSqlJournalTConnection, TCommand.) | |
ByTagSql |
SQL query executed as result of ReplayTaggedMessages request to journal.
It's a part of persistence query protocol.
(Inherited from BatchingSqlJournalTConnection, TCommand.) | |
DeleteBatchSql |
SQL query executed as result of DeleteMessagesTo request to journal.
(Inherited from BatchingSqlJournalTConnection, TCommand.) | |
HasAllIdsSubscribers |
Flag determining if current journal has any subscribers for GetCurrentPersistenceIds and
PersistenceIdAdded messages.
(Inherited from BatchingSqlJournalTConnection, TCommand.) | |
HasPersistenceIdSubscribers |
Flag determining if current journal has any subscribers for EventAppended events.
(Inherited from BatchingSqlJournalTConnection, TCommand.) | |
HasTagSubscribers |
Flag determining if current journal has any subscribers for TaggedEventAppended events.
(Inherited from BatchingSqlJournalTConnection, TCommand.) | |
HighestSequenceNrSql |
SQL query executed as result of ReadHighestSequenceNr(String, TCommand) request to journal.
Also used under some conditions, when storing metadata upon DeleteMessagesTo request.
(Inherited from BatchingSqlJournalTConnection, TCommand.) | |
Initializers |
TBD
(Overrides BatchingSqlJournalTConnection, TCommandInitializers.) | |
InsertEventSql |
SQL statement executed as result of WriteMessages request to journal.
(Inherited from BatchingSqlJournalTConnection, TCommand.) | |
Self |
Gets the self ActorRef
(Inherited from ActorBase.) | |
Sender |
Gets the sending ActorRef of the current message
(Inherited from ActorBase.) | |
Setup |
All configurable settings defined for a current batching journal.
(Inherited from BatchingSqlJournalTConnection, TCommand.) | |
UpdateSequenceNrSql |
SQL statement executed as result of writing metadata, which is
a possible effect of DeleteMessagesTo request.
(Inherited from BatchingSqlJournalTConnection, TCommand.) |
Name | Description | |
---|---|---|
AdaptFromJournal |
TBD
(Inherited from WriteJournalBase.) | |
AdaptToJournal |
TBD
(Inherited from WriteJournalBase.) | |
AddParameter |
Helper method used to add a parameter to existing database command.
(Inherited from BatchingSqlJournalTConnection, TCommand.) | |
AroundPostRestart |
Can be overridden to intercept calls to `PostRestart`. Calls `PostRestart` by default.
(Inherited from ActorBase.) | |
AroundPostStop |
Can be overridden to intercept calls to `PostStop`. Calls `PostStop` by default..
(Inherited from ActorBase.) | |
AroundPreRestart |
Can be overridden to intercept calls to `PreRestart`. Calls `PreRestart` by default.
(Inherited from ActorBase.) | |
AroundPreStart |
Can be overridden to intercept calls to `PreStart`. Calls `PreStart` by default.
(Inherited from ActorBase.) | |
AroundReceive |
TBD
(Inherited from ActorBase.) | |
BatchRequest |
Tries to add incoming message to Buffer.
Also checks if any DB connection has been released and next batch can be processed.
(Inherited from BatchingSqlJournalTConnection, TCommand.) | |
Become |
Changes the actor's command behavior and replaces the current receive handler with the specified handler.
(Inherited from ActorBase.) | |
BecomeStacked |
Changes the actor's behavior and replaces the current receive handler with the specified handler.
The current handler is stored on a stack, and you can revert to it by calling UnbecomeStacked (Inherited from ActorBase.)Remarks Please note, that in order to not leak memory, make sure every call to BecomeStacked(Receive)
is matched with a call to UnbecomeStacked. | |
CreateConnection |
TBD
(Overrides BatchingSqlJournalTConnection, TCommandCreateConnection(String).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HandleDeleteMessagesTo | (Inherited from BatchingSqlJournalTConnection, TCommand.) | |
HandleReplayMessages | (Inherited from BatchingSqlJournalTConnection, TCommand.) | |
HandleReplayTaggedMessages | (Inherited from BatchingSqlJournalTConnection, TCommand.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NotifyNewPersistenceIdAdded | (Inherited from BatchingSqlJournalTConnection, TCommand.) | |
OnBufferOverflow |
Method called, once given request couldn't be added to Buffer
due to buffer overflow. Overflow is controlled by max buffer size and can be set using
MaxBufferSize setting.
(Inherited from BatchingSqlJournalTConnection, TCommand.) | |
PostRestart |
User overridable callback: By default it calls `PreStart()`.
Is called right AFTER restart on the newly created Actor to allow reinitialization after an Actor crash.
(Inherited from ActorBase.) | |
PostStop |
TBD
(Overrides ActorBasePostStop.) | |
PreparePersistentBatch |
TBD
(Inherited from WriteJournalBase.) | |
PreRestart |
User overridable callback: '''By default it disposes of all children and then calls `postStop()`.'''
Is called on a crashed Actor right BEFORE it is restarted to allow clean
up of resources before Actor is terminated.
(Inherited from ActorBase.) | |
PreStart |
TBD
(Overrides BatchingSqlJournalTConnection, TCommandPreStart.) | |
ReadEvent |
Returns a persistent representation of an event read from a current row in the database.
(Inherited from BatchingSqlJournalTConnection, TCommand.) | |
ReadHighestSequenceNr | (Inherited from BatchingSqlJournalTConnection, TCommand.) | |
Receive |
TBD
(Inherited from BatchingSqlJournalTConnection, TCommand.) | |
SetReceiveTimeout | Defines the inactivity timeout after which the sending of a ReceiveTimeout message is triggered. When specified, the receive function should be able to handle a ReceiveTimeout message. Please note that the receive timeout might fire and enqueue the ReceiveTimeout message right after another message was enqueued; hence it is not guaranteed that upon reception of the receive timeout there must have been an idle period beforehand as configured via this method. Once set, the receive timeout stays in effect (i.e. continues firing repeatedly after inactivity periods). Pass in null to switch off this feature. | |
SupervisorStrategy |
TBD
(Inherited from ActorBase.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnbecomeStacked |
Reverts the Actor behavior to the previous one on the behavior stack.
(Inherited from ActorBase.) | |
Unhandled |
Is called when a message isn't handled by the current behavior of the actor
by default it fails with either a DeathPactException (in
case of an unhandled Terminated message) or publishes an UnhandledMessage
to the actor's system's EventStream (Inherited from ActorBase.) | |
WriteEvent |
Perform write of persistent event with specified tags
into database using given command.
(Inherited from BatchingSqlJournalTConnection, TCommand.) |
Name | Description | |
---|---|---|
Buffer |
Buffer for requests that are waiting to be served when next DB connection will be released.
This object access is NOT thread safe.
(Inherited from BatchingSqlJournalTConnection, TCommand.) | |
CanPublish |
Flag determining if incoming journal requests should be published in current actor system event stream.
Useful mostly for tests.
(Inherited from BatchingSqlJournalTConnection, TCommand.) | |
Log |
Logging adapter for current journal actor .
(Inherited from BatchingSqlJournalTConnection, TCommand.) |
Name | Description | |
---|---|---|
AsInstanceOfT |
TBD
(Defined by Extensions.) | |
Match | Overloaded.
Matches the specified target.
(Defined by PatternMatch.) | |
MatchT | Overloaded.
Matches the specified target and return a result of target processing.
(Defined by PatternMatch.) |