Rill v0.10.4 Rill.MessageStore.Memory.Server View Source
In memory message store. Read events are stored in a reversed ordered array.
E.g. (state)
[ %Rill.MessageStore.MessageData.Read{
data: %{},
global_position: 2,
id: "1413ac8e-69aa-4ded-b55c-67b2cc01783b",
metadata: nil,
position: 1,
stream_name: "user-123",
time: "2018-11-24T00:22:50.712897",
type: nil
}, %Rill.MessageStore.MessageData.Read{
data: %{},
global_position: 1,
id: "04fef10a-3774-4f15-aa68-7034fd9f758e",
metadata: nil,
position: 0,
stream_name: "user-123",
time: "2018-11-24T00:22:44.710048",
type: nil
} ]
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Link to this section Functions
Link to this function
child_spec(arg) View Source
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
handle_opt_global_position(messages, opts) View Source
Link to this function
handle_opt_position(messages, opts) View Source
Link to this function
handle_opt_reply_stream_name(msg, opts) View Source
Link to this function