Interface BlockLocation

    • Method Detail

      • getHosts

        String[] getHosts()
                   throws IOException
        Get the list of hosts (hostname) hosting this block.
        Returns:
        A list of hosts (hostname) hosting this block.
        Throws:
        IOException - thrown if the list of hosts could not be retrieved
      • getOffset

        long getOffset()
        Get the start offset of the file associated with this block.
        Returns:
        The start offset of the file associated with this block.
      • getLength

        long getLength()
        Get the length of the block.
        Returns:
        the length of the block