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 int
getFullGeneration()
Return the full generation of this entry.int
getGeneration()
Return the generation of this entry.int
getLength()
Return the length of this entry in the archive.long
getLsb()
Return the least significant bits of the identifier of this entry.long
getMsb()
Return the most significant bits of the identifier of this entry.int
getPosition()
boolean
isCompacted()
Returntrue
if this entry was generated by a compaction operation.
-
-
-
Method Detail
-
getMsb
public long getMsb()
Description copied from interface:SegmentArchiveEntry
Return the most significant bits of the identifier of this entry.- Specified by:
getMsb
in interfaceSegmentArchiveEntry
- Returns:
- the most significant bits of the identifier of this entry.
-
getLsb
public long getLsb()
Description copied from interface:SegmentArchiveEntry
Return the least significant bits of the identifier of this entry.- Specified by:
getLsb
in interfaceSegmentArchiveEntry
- Returns:
- the least significant bits of the identifier of this entry.
-
getPosition
public int getPosition()
-
getLength
public int getLength()
Description copied from interface:SegmentArchiveEntry
Return the length of this entry in the archive.- Specified by:
getLength
in interfaceSegmentArchiveEntry
- Returns:
- the length of this entry in the archive.
-
getGeneration
public int getGeneration()
Description copied from interface:SegmentArchiveEntry
Return the generation of this entry.- Specified by:
getGeneration
in interfaceSegmentArchiveEntry
- Returns:
- the generation of this entry.
-
getFullGeneration
public int getFullGeneration()
Description copied from interface:SegmentArchiveEntry
Return the full generation of this entry.- Specified by:
getFullGeneration
in interfaceSegmentArchiveEntry
- Returns:
- the full generation of this entry.
-
isCompacted
public boolean isCompacted()
Description copied from interface:SegmentArchiveEntry
Returntrue
if this entry was generated by a compaction operation.- Specified by:
isCompacted
in interfaceSegmentArchiveEntry
- Returns:
true
if this entry was generated by a compaction operation.
-
-