2021-07-01 21:19:52 +02:00
|
|
|
package it.cavallium.dbengine.client;
|
2021-06-27 15:40:56 +02:00
|
|
|
|
|
|
|
import io.soabase.recordbuilder.core.RecordBuilder;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
2021-12-27 16:33:31 +01:00
|
|
|
import org.jetbrains.annotations.Nullable;
|
2021-06-27 15:40:56 +02:00
|
|
|
|
|
|
|
@RecordBuilder
|
2021-12-27 16:33:31 +01:00
|
|
|
public record DatabaseOptions(List<DatabaseVolume> volumes, Map<String, String> extraFlags, boolean absoluteConsistency,
|
|
|
|
boolean lowMemory, boolean inMemory, boolean useDirectIO, boolean allowMemoryMapping,
|
2021-12-27 17:45:52 +01:00
|
|
|
boolean allowNettyDirect, boolean optimistic, int maxOpenFiles,
|
2022-01-12 16:18:31 +01:00
|
|
|
@Nullable Number memtableMemoryBudgetBytes, @Nullable Number blockCache,
|
|
|
|
@Nullable Boolean setCacheIndexAndFilterBlocks) {}
|