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

Flush the next io buffer.

Trait Implementations

impl Send for LockFreeLog
[src]

impl Sync for LockFreeLog
[src]

impl Drop for LockFreeLog
[src]

A method called when the value goes out of scope. Read more

impl Log for LockFreeLog
[src]

Create a log offset reservation for a particular write, which may later be filled or canceled. Read more

return the config in use for this log

Write a buffer to underlying storage.

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

Return an iterator over the log, starting with a specified offset. Read more