Uses of Class
io.atomix.raft.storage.log.RaftLogBuilder
Packages that use RaftLogBuilder
Package
Description
Provides a standalone segmented log for use in the Raft consensus protocol implementation.
-
Uses of RaftLogBuilder in io.atomix.raft.storage.log
Methods in io.atomix.raft.storage.log that return RaftLogBuilderModifier and TypeMethodDescriptionstatic RaftLogBuilderRaftLog.builder()Returns a new Raft log builder.RaftLogBuilder.withDirectory(File directory) Sets the log directory, returning the builder for method chaining.RaftLogBuilder.withFlushExplicitly(boolean flushExplicitly) Sets whether or not to flush buffered I/O explicitly at various points, returning the builder for chaining.RaftLogBuilder.withFreeDiskSpace(long freeDiskSpace) Sets the minimum free disk space to leave when allocating a new segmentRaftLogBuilder.withJournalIndexDensity(int journalIndexDensity) Sets the index density of the journal.RaftLogBuilder.withLastWrittenIndex(long lastWrittenIndex) RaftLogBuilder.withMaxSegmentSize(int maxSegmentSize) Sets the maximum segment size in bytes, returning the builder for method chaining.Sets the storage name.