| Package | Description |
|---|---|
| org.rocksdb |
The RocksDB Java driver
|
| Modifier and Type | Method and Description |
|---|---|
EnvOptions |
EnvOptions.setAllowFallocate(boolean allowFallocate)
Enable/Disable fallocate calls.
|
EnvOptions |
EnvOptions.setBytesPerSync(long bytesPerSync)
Allows OS to incrementally sync files to disk while they are being
written, in the background.
|
EnvOptions |
EnvOptions.setCompactionReadaheadSize(long compactionReadaheadSize)
|
EnvOptions |
EnvOptions.setFallocateWithKeepSize(boolean fallocateWithKeepSize)
If true, we will preallocate the file with
FALLOC_FL_KEEP_SIZE
flag, which means that file size won't change as part of preallocation. |
EnvOptions |
EnvOptions.setRandomAccessMaxBufferSize(long randomAccessMaxBufferSize)
|
EnvOptions |
EnvOptions.setRateLimiter(RateLimiter rateLimiter)
Set the write rate limiter for flush and compaction.
|
EnvOptions |
EnvOptions.setSetFdCloexec(boolean setFdCloexec)
Enable/Disable the
FD_CLOEXEC bit when opening file descriptors. |
EnvOptions |
EnvOptions.setUseDirectReads(boolean useDirectReads)
Enable/Disable direct reads, i.e.
|
EnvOptions |
EnvOptions.setUseDirectWrites(boolean useDirectWrites)
Enable/Disable direct writes, i.e.
|
EnvOptions |
EnvOptions.setUseMmapReads(boolean useMmapReads)
Enable/Disable memory mapped reads.
|
EnvOptions |
EnvOptions.setUseMmapWrites(boolean useMmapWrites)
Enable/Disable memory mapped Writes.
|
EnvOptions |
EnvOptions.setWritableFileMaxBufferSize(long writableFileMaxBufferSize)
|
| Constructor and Description |
|---|
SstFileWriter(EnvOptions envOptions,
Options options)
SstFileWriter Constructor.
|
Copyright © 2022. All rights reserved.