Struct rsdb::LockFreeLog [] [src]

pub struct LockFreeLog { /* fields omitted */ }

LockFreeLog is responsible for putting data on disk, and retrieving it later on.

Methods

impl LockFreeLog
[src]

create new lock-free log

Trait Implementations

impl Send for LockFreeLog
[src]

impl Sync for LockFreeLog
[src]

impl Log for LockFreeLog
[src]

claim a spot on disk, which can later be filled or aborted

write a buffer to disk

read a buffer from the disk

returns the current stable offset written to disk

blocks until the specified id has been made stable on disk

deallocates the data part of a log id