com.comcast.xfinity.sirius.uberstore.segmented
Close underlying file handles or connections.
Close underlying file handles or connections. This Segment should not be used after close is called.
Fold left over all entries.
Fold left over all entries.
initial accumulator value
the fold function
Fold left over a range of entries based on sequence number.
Get the next possible sequence number in this dir.
Have the keys in this segment been applied via compaction to previous segments?
Have the keys in this segment been applied via compaction to previous segments?
true if the keys have been compacted away from previous segments, false otherwise
Consider this closed if either of its underlying objects are closed, no good writes will be able to go through in that case.
Consider this closed if either of its underlying objects are closed, no good writes will be able to go through in that case.
whether this is "closed," i.e., unable to be written to
Has this segment been internally compacted?
Has this segment been internally compacted?
true if internal compaction is completed, false otherwise
Get all the unique keys in the segment.
Get all the unique keys in the segment.
set of keys in this Segment
Set the keys-applied flag.
Set the keys-applied flag.
the value of the flag
Set the internally-compacted flag
Set the internally-compacted flag
the value of the flag
Get the number of entries written to the Segment
Get the number of entries written to the Segment
number of entries in the Segment
Write OrderedEvent event into this dir.
Write OrderedEvent event into this dir. Will fail if closed or sequence is out of order.
the OrderedEvent
to write
Expectedly high performance sequence number based append only storage directory. Stores all data in dataFile, and sequence -> data mappings in index.