public interface SegmentIdFactory
SegmentId
given their representation in MSB/LSB longs.
An instance of this class is used by the SegmentTracker
to delegate
the creation of SegmentId
s to its caller, that usually is a SegmentStore
. This way, the SegmentStore
may attach additional,
implementation-dependent information to the returned SegmentId
in a
way that is transparent to the implementation of the SegmentTracker
.
Modifier and Type | Method and Description |
---|---|
@NotNull SegmentId |
newSegmentId(long msb,
long lsb)
Creates a
SegmentId represented by the given MSB/LSB pair. |
Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.