Rill v0.11.0 Rill.MessageStore.Mnesia View Source
Link to this section Summary
Functions
Returned enumerable must be a stream from the given position until the end
of the stream. If fun
is passed, the stream will instead be reduced, with
an accumulator value initially being nil
and successive values will be
those returned by fun
Callback implementation for Rill.MessageStore.write_initial/3
Behaves like write_initial
but instead of raising, it returns nil
Link to this section Types
transaction_retries_option()
View Source
transaction_retries_option() :: {:transaction_retries, pos_integer()}
transaction_retries_option() :: {:transaction_retries, pos_integer()}
Link to this section Functions
info(session)
View Source
info(session :: Rill.Session.t()) :: no_return()
info(session :: Rill.Session.t()) :: no_return()
read(session, stream_name, opts \\ [], fun \\ nil) View Source
Returned enumerable must be a stream from the given position until the end
of the stream. If fun
is passed, the stream will instead be reduced, with
an accumulator value initially being nil
and successive values will be
those returned by fun
Callback implementation for Rill.MessageStore.read/4
.
start()
View Source
start() :: no_return()
start() :: no_return()
truncate(session)
View Source
truncate(session :: Rill.Session.t()) :: no_return()
truncate(session :: Rill.Session.t()) :: no_return()
write_initial(session, message, stream_name) View Source
Callback implementation for Rill.MessageStore.write_initial/3
.
write_once(session, message, stream_name) View Source
Behaves like write_initial
but instead of raising, it returns nil
Callback implementation for Rill.MessageStore.write_once/3
.