Interface SegmentArchiveEntry
- All Known Subinterfaces:
IndexEntry
- All Known Implementing Classes:
RemoteSegmentArchiveEntry
,SimpleIndexEntry
public interface SegmentArchiveEntry
-
Method Summary
Modifier and TypeMethodDescriptionint
Return the full generation of this entry.int
Return the generation of this entry.int
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
Returntrue
if this entry was generated by a compaction operation.
-
Method Details
-
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.
-