CavalliumDBEngine/src/main/java/it/cavallium/dbengine/client/DatabaseOptions.java
2022-01-12 16:18:31 +01:00

14 lines
650 B
Java

package it.cavallium.dbengine.client;
import io.soabase.recordbuilder.core.RecordBuilder;
import java.util.List;
import java.util.Map;
import org.jetbrains.annotations.Nullable;
@RecordBuilder
public record DatabaseOptions(List<DatabaseVolume> volumes, Map<String, String> extraFlags, boolean absoluteConsistency,
boolean lowMemory, boolean inMemory, boolean useDirectIO, boolean allowMemoryMapping,
boolean allowNettyDirect, boolean optimistic, int maxOpenFiles,
@Nullable Number memtableMemoryBudgetBytes, @Nullable Number blockCache,
@Nullable Boolean setCacheIndexAndFilterBlocks) {}