WAL

Undocumented in source.

Constructors

this
this(string dirpath, byte[] metadata)
Undocumented in source.
this
this(string dirpath, WalSnapshot snap, bool write)
Undocumented in source.

Members

Functions

Close
void Close()
Undocumented in source. Be warned that the author may not have intended to support it.
ReadAll
void ReadAll(byte[] metadata, HardState state, Entry[] ents)
Undocumented in source. Be warned that the author may not have intended to support it.
Save
void Save(HardState st, Entry[] ents)
Undocumented in source. Be warned that the author may not have intended to support it.
SaveSnapshot
void SaveSnapshot(WalSnapshot sp)
Undocumented in source. Be warned that the author may not have intended to support it.
cut
void cut()
Undocumented in source. Be warned that the author may not have intended to support it.
saveEntry
void saveEntry(Entry e)
Undocumented in source. Be warned that the author may not have intended to support it.
saveState
void saveState(HardState s)
Undocumented in source. Be warned that the author may not have intended to support it.
seq
ulong seq()
Undocumented in source. Be warned that the author may not have intended to support it.
sync
void sync()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_decoder
Decoder _decoder;
Undocumented in source.
_dir
string _dir;
Undocumented in source.
_encoder
Encoder _encoder;
Undocumented in source.
_enti
ulong _enti;
Undocumented in source.
_fr
File[] _fr;
Undocumented in source.
_fw
File[] _fw;
Undocumented in source.
_hdstate
HardState _hdstate;
Undocumented in source.
_metadata
byte[] _metadata;
Undocumented in source.
_start
WalSnapshot _start;
Undocumented in source.

Meta