Interface SegmentIdFactory
-
public interface SegmentIdFactory
A factory forSegmentId
given their representation in MSB/LSB longs.An instance of this class is used by the
SegmentTracker
to delegate the creation ofSegmentId
s to its caller, that usually is aSegmentStore
. This way, theSegmentStore
may attach additional, implementation-dependent information to the returnedSegmentId
in a way that is transparent to the implementation of theSegmentTracker
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull SegmentId
newSegmentId(long msb, long lsb)
Creates aSegmentId
represented by the given MSB/LSB pair.
-