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 SegmentIds 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 |
|---|---|
SegmentId |
newSegmentId(long msb,
long lsb)
Creates a
SegmentId represented by the given MSB/LSB pair. |
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.