- build
Builds the Storage object.
- withDirectory
Sets the log directory, returning the builder for method chaining. The log will
write segment files
- withStorageLevel
Sets the log storage level, returning the builder for method chaining. The
storage level indicates h
- withMaxSegmentSize
Sets the maximum segment size in bytes, returning the builder for method
chaining. The maximum segme
- withMinorCompactionInterval
Sets the minor compaction interval, returning the builder for method chaining.
The minor compaction
- withCompactionThreads
Sets the number of log compaction threads, returning the builder for method
chaining. The compaction
- withMajorCompactionInterval
Sets the major compaction interval, returning the builder for method chaining.
The major compaction
- withMaxEntriesPerSegment
Sets the maximum number of allows entries per segment, returning the builder for
method chaining. Th
- withCompactionThreshold
Sets the percentage of entries in the segment that must be cleaned before a
segment can be compacted
- withRetainStaleSnapshots
Sets whether to retain stale snapshots on disk, returning the builder for method
chaining. As the sy
- <init>
- withFlushOnCommit
Sets whether to flush buffers to disk when entries are committed to a segment,
returning the builder