Struct commitlog::CommitLog [] [src]

pub struct CommitLog { /* fields omitted */ }

The commit log is an append-only sequence of messages.

Methods

impl CommitLog
[src]

Creates or opens an existing commit log.

Appends a single message to the log, returning the offset appended.

Appends log entrites to the commit log, returning the offsets appended.

Gets the last written offset.

Reads a portion of the log, starting with the ReadPosition up to the limit.

Forces a flush of the log.