View Source ExWal.LogWriter.Single (ex_wal v0.3.0)

log writer writes records to a WAL file.

Summary

Functions

Returns a specification to start this module under a supervisor.

Types

@type t() :: %ExWal.LogWriter.Single{
  block: ExWal.Models.Block.t(),
  block_num: non_neg_integer(),
  file: ExWal.File.t(),
  log_num: non_neg_integer(),
  name: GenServer.name(),
  pending: %{required(non_neg_integer()) => ExWal.Models.Block.t()}
}

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

write_record(name, bytes, opts \\ [])

View Source