org.eligosource.eventsourced.journal.common.support
Instructs a journal provider to batch-replay input messages.
Instructs a journal provider to batch-replay input messages.
command batch to be executed by the journal provider.
function to be called by the provider for every replayed input message.
The acks
field of a replayed input message must contain the channel ids
of all acknowledgements for that input message. The replay target
of the
currently processed org.eligosource.eventsourced.core.JournalProtocol.ReplayInMsgs
command must be passed as second argument.
Instructs a journal provider to delete an output message.
Instructs a journal provider to delete an output message.
command to be executed by the journal provider.
Instructs a journal provider to replay input messages.
Instructs a journal provider to replay input messages.
command to be executed by the journal provider.
function to be called by the provider for each replayed input message.
The acks
field of a replayed input message must contain the channel ids
of all acknowledgements for that input message.
Instructs a journal provider to replay output messages.
Instructs a journal provider to replay output messages.
command to be executed by the journal provider.
function to be called by the provider for each replayed output message.
Instructs a journal provider to write an acknowledgement.
Instructs a journal provider to write an acknowledgement.
command to be executed by the journal provider.
Instructs a journal provider to write an input message.
Instructs a journal provider to write an input message.
command to be executed by the journal provider.
Instructs a journal provider to write an output message, optionally together with an acknowledgement.
Instructs a journal provider to write an output message, optionally together with an acknowledgement.
command to be executed by the journal provider.
Loads the latest snapshot for specified processor whose metadata match predicate p
.
Loads the latest snapshot for specified processor whose metadata match predicate p
.
processor id of the snapshot.
predicate for selecting saved snapshots.
youngest snapshots of those selected by p
, if any.
Saves a snapshot asynchronously.
Saves a snapshot asynchronously.
a snapshot.
a future that is completed when the snapshot has been successfully saved.
Called when a snapshot has been successfully saved.
Called when a snapshot has been successfully saved.
snapshot metadata.
Returns the last stored counter value.
Returns the last stored counter value.
Returns the current counter value.
Returns the current counter value.
Returns the initial counter value after journal start.
Calls stop()
.
Calls stop()
.
Initializes the counter
from the last stored counter value and calls start()
.
Initializes the counter
from the last stored counter value and calls start()
.
Start callback.
Start callback. Empty default implementation.
Stop callback.
Stop callback. Empty default implementation.