Uses of Class
io.atomix.storage.journal.JournalSegmentDescriptor.Builder
Packages that use JournalSegmentDescriptor.Builder
Package
Description
Provides a low-level journal abstraction for appending to logs and managing segmented logs.
-
Uses of JournalSegmentDescriptor.Builder in io.atomix.storage.journal
Methods in io.atomix.storage.journal that return JournalSegmentDescriptor.BuilderModifier and TypeMethodDescriptionJournalSegmentDescriptor.builder()Returns a descriptor builder.JournalSegmentDescriptor.builder(int version) Returns a descriptor builder for the given descriptor buffer.JournalSegmentDescriptor.Builder.withId(long id) Sets the segment identifier.JournalSegmentDescriptor.Builder.withIndex(long index) Sets the segment index.JournalSegmentDescriptor.Builder.withMaxEntries(int maxEntries) Deprecated.since 3.0.2JournalSegmentDescriptor.Builder.withMaxSegmentSize(int maxSegmentSize) Sets maximum count of the segment.JournalSegmentDescriptor.Builder.withUpdated(long updated) Sets updated timestamp.