public class CompactionOptionsFIFO extends RocksObject
nativeHandle_owningHandle_| Constructor and Description |
|---|
CompactionOptionsFIFO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowCompaction()
Check if intra-L0 compaction is enabled.
|
protected void |
disposeInternal(long handle) |
long |
maxTableFilesSize()
Once the total sum of table files reaches this, we will delete the oldest
table file
Default: 1GB
|
CompactionOptionsFIFO |
setAllowCompaction(boolean allowCompaction)
If true, try to do compaction to compact smaller files into larger ones.
|
CompactionOptionsFIFO |
setMaxTableFilesSize(long maxTableFilesSize)
Once the total sum of table files reaches this, we will delete the oldest
table file
Default: 1GB
|
disposeInternal, getNativeHandleclose, disOwnNativeHandle, isOwningHandledispose, finalizepublic CompactionOptionsFIFO setMaxTableFilesSize(long maxTableFilesSize)
maxTableFilesSize - The maximum size of the table filespublic long maxTableFilesSize()
public CompactionOptionsFIFO setAllowCompaction(boolean allowCompaction)
allowCompaction - true to allow intra-L0 compactionpublic boolean allowCompaction()
setAllowCompaction(boolean).
Default: falseprotected final void disposeInternal(long handle)
disposeInternal in class RocksObjectCopyright © 2021. All rights reserved.