Rill v0.10.4 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
Link to this section Types
Link to this type
transaction_retries_option()
View Source
transaction_retries_option()
View Source
transaction_retries_option() :: {:transaction_retries, pos_integer()}
transaction_retries_option() :: {:transaction_retries, pos_integer()}
Link to this section Functions
Link to this function
info(session)
View Source
info(session)
View Source
info(session :: Rill.Session.t()) :: no_return()
info(session :: Rill.Session.t()) :: no_return()
Link to this function
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
.
Link to this function
start()
View Source
start()
View Source
start() :: no_return()
start() :: no_return()
Link to this function
truncate(session)
View Source
truncate(session)
View Source
truncate(session :: Rill.Session.t()) :: no_return()
truncate(session :: Rill.Session.t()) :: no_return()
Link to this function
write_initial(session, message, stream_name) View Source
Callback implementation for Rill.MessageStore.write_initial/3
.