Class RemoteSegmentArchiveEntry
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.remote.RemoteSegmentArchiveEntry
-
- All Implemented Interfaces:
SegmentArchiveEntry
public class RemoteSegmentArchiveEntry extends Object implements SegmentArchiveEntry
-
-
Constructor Summary
Constructors Constructor Description RemoteSegmentArchiveEntry(long msb, long lsb, int position, int length, int generation, int fullGeneration, boolean compacted)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFullGeneration()Return the full generation of this entry.intgetGeneration()Return the generation of this entry.intgetLength()Return the length of this entry in the archive.longgetLsb()Return the least significant bits of the identifier of this entry.longgetMsb()Return the most significant bits of the identifier of this entry.intgetPosition()booleanisCompacted()Returntrueif this entry was generated by a compaction operation.
-
-
-
Method Detail
-
getMsb
public long getMsb()
Description copied from interface:SegmentArchiveEntryReturn the most significant bits of the identifier of this entry.- Specified by:
getMsbin interfaceSegmentArchiveEntry- Returns:
- the most significant bits of the identifier of this entry.
-
getLsb
public long getLsb()
Description copied from interface:SegmentArchiveEntryReturn the least significant bits of the identifier of this entry.- Specified by:
getLsbin interfaceSegmentArchiveEntry- Returns:
- the least significant bits of the identifier of this entry.
-
getPosition
public int getPosition()
-
getLength
public int getLength()
Description copied from interface:SegmentArchiveEntryReturn the length of this entry in the archive.- Specified by:
getLengthin interfaceSegmentArchiveEntry- Returns:
- the length of this entry in the archive.
-
getGeneration
public int getGeneration()
Description copied from interface:SegmentArchiveEntryReturn the generation of this entry.- Specified by:
getGenerationin interfaceSegmentArchiveEntry- Returns:
- the generation of this entry.
-
getFullGeneration
public int getFullGeneration()
Description copied from interface:SegmentArchiveEntryReturn the full generation of this entry.- Specified by:
getFullGenerationin interfaceSegmentArchiveEntry- Returns:
- the full generation of this entry.
-
isCompacted
public boolean isCompacted()
Description copied from interface:SegmentArchiveEntryReturntrueif this entry was generated by a compaction operation.- Specified by:
isCompactedin interfaceSegmentArchiveEntry- Returns:
trueif this entry was generated by a compaction operation.
-
-