Interface SegmentArchiveEntry
-
- All Known Subinterfaces:
IndexEntry
- All Known Implementing Classes:
RemoteSegmentArchiveEntry
,SimpleIndexEntry
public interface SegmentArchiveEntry
-
-
Method Summary
All Methods Instance Methods Abstract 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.boolean
isCompacted()
Returntrue
if this entry was generated by a compaction operation.
-
-
-
Method Detail
-
getMsb
long getMsb()
Return the most significant bits of the identifier of this entry.- Returns:
- the most significant bits of the identifier of this entry.
-
getLsb
long getLsb()
Return the least significant bits of the identifier of this entry.- Returns:
- the least significant bits of the identifier of this entry.
-
getLength
int getLength()
Return the length of this entry in the archive.- Returns:
- the length of this entry in the archive.
-
getGeneration
int getGeneration()
Return the generation of this entry.- Returns:
- the generation of this entry.
-
getFullGeneration
int getFullGeneration()
Return the full generation of this entry.- Returns:
- the full generation of this entry.
-
isCompacted
boolean isCompacted()
Returntrue
if this entry was generated by a compaction operation.- Returns:
true
if this entry was generated by a compaction operation.
-
-