Class DiskJobReadBlock

    • Method Detail

      • getPriority

        public int getPriority()
        The priority of this job
        Specified by:
        getPriority in interface IDiskJob
        Returns:
        The priority
      • getBlockData

        public byte[] getBlockData()
        The read data from the piece
        Returns:
        The read data
        See Also:
        getPiece()
      • getPiece

        public Piece getPiece()
        The piece from which data was read.
        Returns:
        The piece from which data was read.
      • getOffset

        public int getOffset()
        Gets the offset at which the data started reading.
        Returns:
        The data offset