Class FSDirectory.FSIndexOutput

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    FSDirectory

    final class FSDirectory.FSIndexOutput
    extends OutputStreamIndexOutput
    • Field Detail

      • CHUNK_SIZE

        static final int CHUNK_SIZE
        The maximum chunk size is 8192 bytes, because file channel mallocs a native buffer outside of stack if the write buffer size is larger.
        See Also:
        Constant Field Values
    • Constructor Detail

      • FSIndexOutput

        public FSIndexOutput​(java.lang.String name)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • FSIndexOutput

        FSIndexOutput​(java.lang.String name,
                      java.nio.file.OpenOption... options)
               throws java.io.IOException
        Throws:
        java.io.IOException