Class ValueStoreWalConfig
java.lang.Object
org.eclipse.rdf4j.sail.nativerdf.wal.ValueStoreWalConfig
Configuration for the ValueStore WAL implementation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enumControls when the WAL writer flushes buffered frames to disk and when it invokesFileChannel.force(boolean)to guarantee durability. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintstatic ValueStoreWalConfig.Builderbuilder()longintbooleanWhen true, the ValueStore will attempt to reconstruct missing or empty ValueStore files from the WAL during open before allowing any operations.booleanWhen true, the ValueStore will synchronously rebuild the WAL from existing values during open before allowing any new values to be added.
-
Field Details
-
DEFAULT_DIRECTORY_NAME
- See Also:
-
-
Method Details
-
walDirectory
-
snapshotsDirectory
-
storeUuid
-
maxSegmentBytes
public long maxSegmentBytes() -
queueCapacity
public int queueCapacity() -
batchBufferBytes
public int batchBufferBytes() -
syncPolicy
-
syncInterval
-
idlePollInterval
-
syncBootstrapOnOpen
public boolean syncBootstrapOnOpen()When true, the ValueStore will synchronously rebuild the WAL from existing values during open before allowing any new values to be added. When false (default), bootstrap runs asynchronously in the background. -
recoverValueStoreOnOpen
public boolean recoverValueStoreOnOpen()When true, the ValueStore will attempt to reconstruct missing or empty ValueStore files from the WAL during open before allowing any operations. -
builder
-