RecycleSegment

The segments used for the recycler. They contain a next pointer that points to the next recycler segment index. As well as a index for where it is located.

@safe
@recordType("R")
struct RecycleSegment {
Index next;
ulong size;
@exclude
Index index;
}

Mixed In Members

From mixin HiBONRecord!(q{ @disable this(); this(const Index index, const ulong size, Index next = Index.init) pure nothrow { this.index = index; this.size = size; this.next = next; } this(BlockFile blockfile, const Index _index) in (_index != Index.init) do { blockfile.seek(_index); const doc = blockfile.file.fread(); check(RecycleSegment.isRecord(doc), "The loaded segment was not of type segment doc"); next = doc[GetLabel!(next).name].get!Index; size = doc[GetLabel!(size).name].get!ulong; index = _index; } this(const(Document) doc, const(Index) _index) in (_index != Index.init) do { index = Index(_index); this(doc); } })

recordName
string recordName()

Get the record type name set by @recordType("name")