Class PieceMapEntryImpl

    • Field Detail

      • _file

        private final DiskManagerFileInfo _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 Detail

      • PieceMapEntryImpl

        public PieceMapEntryImpl​(DiskManagerFileInfo file,
                                 long offset,
                                 int length)