Class PieceMapEntryImpl
java.lang.Object
com.biglybt.core.disk.impl.piecemapper.impl.PieceMapEntryImpl
- All Implemented Interfaces:
DMPieceMapEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DiskManagerFileInfo
This class denotes the mapping of a piece onto a file.private final int
private final long
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
_file
This class denotes the mapping of a piece onto a file. Typically a piece can span multiple files. Each overlapping segment has on of these entries created for it. It identifies the file, the offset within the file, and the length of the chunk -
_offset
private final long _offset -
_length
private final int _length
-
-
Constructor Details
-
PieceMapEntryImpl
-
-
Method Details
-
getFile
- Specified by:
getFile
in interfaceDMPieceMapEntry
-
getOffset
public long getOffset()- Specified by:
getOffset
in interfaceDMPieceMapEntry
-
getLength
public int getLength()- Specified by:
getLength
in interfaceDMPieceMapEntry
-