public class CompactionOptionsFIFO extends RocksObject
nativeHandle_owningHandle_| 构造器和说明 |
|---|
CompactionOptionsFIFO() |
| 限定符和类型 | 方法和说明 |
|---|---|
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, isOwningHandlepublic CompactionOptionsFIFO setMaxTableFilesSize(long maxTableFilesSize)
Default: 1GB
maxTableFilesSize - The maximum size of the table filespublic long maxTableFilesSize()
Default: 1GB
public CompactionOptionsFIFO setAllowCompaction(boolean allowCompaction)
Default: false
allowCompaction - true to allow intra-L0 compactionpublic boolean allowCompaction()
See setAllowCompaction(boolean).
Default: false
protected final void disposeInternal(long handle)
disposeInternal 在类中 RocksObject