Class PieceMapEntryImpl
java.lang.Object
com.biglybt.core.disk.impl.piecemapper.impl.PieceMapEntryImpl
- All Implemented Interfaces:
DMPieceMapEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DiskManagerFileInfoThis class denotes the mapping of a piece onto a file.private final intprivate 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:
getFilein interfaceDMPieceMapEntry
-
getOffset
public long getOffset()- Specified by:
getOffsetin interfaceDMPieceMapEntry
-
getLength
public int getLength()- Specified by:
getLengthin interfaceDMPieceMapEntry
-