tagion v1.0.3-rc1 (2023-12-18T15:15:15Z)
Dub
Repo
BlockFile.BlockSegmentRange
tagion
dart
BlockFile
BlockFile
Undocumented in source.
class
BlockFile
struct
BlockSegmentRange {
BlockFile
owner
;
Index
index
;
Index
last_index
;
BlockSegmentInfo
current_segment
;
this
(BlockFile owner);
this
(BlockFile owner, Index from, Index to);
alias
BlockSegmentInfo
=
Tuple
!(
Index
,
"index"
,
string
,
"type"
,
ulong
,
"size"
,
Document
,
"doc"
)
;
BlockSegmentInfo
front
();
void
popFront
();
bool
empty
();
BlockSegmentRange
save
();
}
Constructors
this
this
(BlockFile owner)
Undocumented in source.
this
this
(BlockFile owner, Index from, Index to)
Undocumented in source.
Members
Aliases
BlockSegmentInfo
alias
BlockSegmentInfo
=
Tuple
!(
Index
,
"index"
,
string
,
"type"
,
ulong
,
"size"
,
Document
,
"doc"
)
Undocumented in source.
Functions
empty
bool
empty
()
Undocumented in source. Be warned that the author may not have intended to support it.
front
BlockSegmentInfo
front
()
Undocumented in source. Be warned that the author may not have intended to support it.
popFront
void
popFront
()
Undocumented in source. Be warned that the author may not have intended to support it.
save
BlockSegmentRange
save
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
current_segment
BlockSegmentInfo
current_segment
;
Undocumented in source.
index
Index
index
;
Undocumented in source.
last_index
Index
last_index
;
Undocumented in source.
owner
BlockFile
owner
;
Undocumented in source.
Meta
Source
See Implementation
tagion
dart
BlockFile
BlockFile
aliases
BlockFileStatistic
RecyclerFileStatistic
constructors
this
destructors
~this
functions
cacheLoad
cache_empty
cache_len
claim
close
createHeader
dispose
dump
empty
hasHeader
headerBlock
index_to_seek
lastBlockIndex
load
masterBlock
numberOfBlocks
opSlice
readInitial
recycleDump
recycleStatisticDump
recyclerStatistic
root_index
save
seek
statistic
statisticDump
store
writeMasterBlock
writeRecyclerStatistic
writeStatistic
manifest constants
DEFAULT_BLOCK_SIZE
FILE_LABEL
static functions
create
opCall
reset
static variables
do_not_write
structs
BlockSegmentRange
HeaderBlock
MasterBlock
variables
BLOCK_SIZE
_last_block_index
_recycler_statistic
_statistic
block_chains
file
headerblock
masterblock
read_only
recycler