Class NIOFSDirectory.NIOFSIndexInput

All Implemented Interfaces:
Closeable, AutoCloseable, Cloneable, RandomAccessInput
Enclosing class:
NIOFSDirectory

static final class NIOFSDirectory.NIOFSIndexInput extends BufferedIndexInput
  • Field Details

    • CHUNK_SIZE

      private static final int CHUNK_SIZE
      The maximum chunk size for reads of 16384 bytes.
      See Also:
    • channel

      protected final FileChannel channel
      the file channel we will read from
    • isClone

      boolean isClone
      is this instance a clone and hence does not own the file to close it
    • off

      protected final long off
      start offset: non-zero in the slice case
    • end

      protected final long end
      end offset (start+length)
  • Constructor Details

  • Method Details