public class SimpleIndexEntry extends java.lang.Object implements IndexEntry
POSITION_ORDER
Constructor and Description |
---|
SimpleIndexEntry(long msb,
long lsb,
int position,
int length,
int generation,
int fullGeneration,
boolean compacted) |
Modifier and Type | Method and 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 TAR file.
|
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()
Return the position of this entry in the TAR file.
|
boolean |
isCompacted()
Return
true if this entry was generated by a compaction operation. |
public SimpleIndexEntry(long msb, long lsb, int position, int length, int generation, int fullGeneration, boolean compacted)
public long getMsb()
IndexEntry
getMsb
in interface IndexEntry
getMsb
in interface SegmentArchiveEntry
public long getLsb()
IndexEntry
getLsb
in interface IndexEntry
getLsb
in interface SegmentArchiveEntry
public int getPosition()
IndexEntry
getPosition
in interface IndexEntry
public int getLength()
IndexEntry
getLength
in interface IndexEntry
getLength
in interface SegmentArchiveEntry
public int getGeneration()
IndexEntry
getGeneration
in interface IndexEntry
getGeneration
in interface SegmentArchiveEntry
public int getFullGeneration()
IndexEntry
getFullGeneration
in interface IndexEntry
getFullGeneration
in interface SegmentArchiveEntry
public boolean isCompacted()
IndexEntry
true
if this entry was generated by a compaction operation.isCompacted
in interface IndexEntry
isCompacted
in interface SegmentArchiveEntry
true
if this entry was generated by a compaction operation.Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.