Class SequentialWriterOption


  • public class SequentialWriterOption
    extends java.lang.Object
    SequentialWriter option
    • Field Detail

      • DEFAULT

        public static final SequentialWriterOption DEFAULT
        Default write option.
        • buffer size: 64 KiB
        • buffer type: on heap
        • trickle fsync: false
        • trickle fsync byte interval: 10 MiB
        • finish on close: false
    • Method Detail

      • bufferSize

        public int bufferSize()
      • trickleFsync

        public boolean trickleFsync()
      • trickleFsyncByteInterval

        public int trickleFsyncByteInterval()
      • finishOnClose

        public boolean finishOnClose()
      • allocateBuffer

        public java.nio.ByteBuffer allocateBuffer()
        Allocate buffer using set buffer type and buffer size.
        Returns:
        allocated ByteBuffer