Uses of Class
io.atomix.storage.journal.SegmentedByteBufJournal.Builder
Packages that use SegmentedByteBufJournal.Builder
Package
Description
Provides a low-level journal abstraction for appending to logs and managing segmented logs.
-
Uses of SegmentedByteBufJournal.Builder in io.atomix.storage.journal
Methods in io.atomix.storage.journal that return SegmentedByteBufJournal.BuilderModifier and TypeMethodDescriptionSegmentedByteBufJournal.builder()SegmentedByteBufJournal.Builder.withByteBufAllocator(io.netty.buffer.ByteBufAllocator byteBufAllocator) Sets theByteBufAllocatorto use for allocating various buffers.SegmentedByteBufJournal.Builder.withDirectory(File directory) Sets the journal directory.SegmentedByteBufJournal.Builder.withDirectory(String directory) Sets the journal directory.SegmentedByteBufJournal.Builder.withFlushOnCommit()Enables flushing buffers to disk when entries are committed to a segment.SegmentedByteBufJournal.Builder.withFlushOnCommit(boolean flushOnCommit) Sets whether to flush buffers to disk when entries are committed to a segment.SegmentedByteBufJournal.Builder.withIndexDensity(double indexDensity) Sets the journal index density.SegmentedByteBufJournal.Builder.withMaxEntriesPerSegment(int maxEntriesPerSegment) Deprecated, for removal: This API element is subject to removal in a future version.This option has no effect and is scheduled for removal.SegmentedByteBufJournal.Builder.withMaxEntrySize(int maxEntrySize) Sets the maximum entry size in bytes.SegmentedByteBufJournal.Builder.withMaxSegmentSize(int maxSegmentSize) Sets the maximum segment size in bytes.Sets the journal name.SegmentedByteBufJournal.Builder.withStorageLevel(StorageLevel storageLevel) Sets the storage level.