View Source ExWal.File.Syncing (ex_wal v0.3.0)
Syncing file implementation. This implementation do syncing work automatically after writting.
See may_sync
function for specific synchronization conditions
Summary
Functions
Returns a specification to start this module under a supervisor.
Types
@type t() :: %ExWal.File.Syncing{ file: ExWal.File.t(), name: String.t(), offset: non_neg_integer(), sync_offset: non_neg_integer() }
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec get(Agent.name()) :: t()