public class SequentialWriterOption
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SequentialWriterOption.Builder |
Modifier and Type | Field and Description |
---|---|
static SequentialWriterOption |
DEFAULT
Default write option.
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
allocateBuffer()
Allocate buffer using set buffer type and buffer size.
|
int |
bufferSize() |
BufferType |
bufferType() |
boolean |
finishOnClose() |
static SequentialWriterOption.Builder |
newBuilder() |
boolean |
trickleFsync() |
int |
trickleFsyncByteInterval() |
public static final SequentialWriterOption DEFAULT
public static SequentialWriterOption.Builder newBuilder()
public int bufferSize()
public BufferType bufferType()
public boolean trickleFsync()
public int trickleFsyncByteInterval()
public boolean finishOnClose()
public java.nio.ByteBuffer allocateBuffer()
Copyright © 2009-2022 The Apache Software Foundation