Package alluxio

Interface Seekable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void seek​(long pos)
      Moves the starting read position of the stream to the specified position which is relative to the start of the stream.
    • Method Detail

      • seek

        void seek​(long pos)
           throws java.io.IOException
        Moves the starting read position of the stream to the specified position which is relative to the start of the stream. Seeking to a position before the current read position is supported.
        Parameters:
        pos - the position to seek to, it must be between 0 and the end of the stream - 1
        Throws:
        java.io.IOException