public class RocksDBManualCompactionConfig extends Object implements Serializable
RocksDBManualCompactionManager
.Modifier and Type | Class and Description |
---|---|
static class |
RocksDBManualCompactionConfig.Builder
Builder for
RocksDBManualCompactionConfig . |
Modifier and Type | Field and Description |
---|---|
int |
maxAutoCompactions |
MemorySize |
maxFileSizeToCompact |
int |
maxFilesToCompact |
int |
maxManualCompactions |
MemorySize |
maxOutputFileSize |
int |
minFilesToCompact |
long |
minInterval |
Constructor and Description |
---|
RocksDBManualCompactionConfig(long periodMs,
int maxManualCompactions,
MemorySize maxFileSizeToCompact,
int minFilesToCompact,
int maxFilesToCompact,
MemorySize maxOutputFileSize,
int maxAutoCompactions) |
Modifier and Type | Method and Description |
---|---|
static RocksDBManualCompactionConfig.Builder |
builder() |
static RocksDBManualCompactionConfig |
from(ReadableConfig config) |
static RocksDBManualCompactionConfig |
getDefault() |
String |
toString() |
public final long minInterval
public final int maxManualCompactions
public final MemorySize maxFileSizeToCompact
public final int minFilesToCompact
public final int maxFilesToCompact
public final MemorySize maxOutputFileSize
public final int maxAutoCompactions
public RocksDBManualCompactionConfig(long periodMs, int maxManualCompactions, MemorySize maxFileSizeToCompact, int minFilesToCompact, int maxFilesToCompact, MemorySize maxOutputFileSize, int maxAutoCompactions)
public static RocksDBManualCompactionConfig.Builder builder()
public static RocksDBManualCompactionConfig from(ReadableConfig config)
public static RocksDBManualCompactionConfig getDefault()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.