Uses of Class
io.atomix.raft.partition.RaftStorageConfig
Packages that use RaftStorageConfig
Package
Description
Provides
io.atomix.primitive.partition.PartitionGroup and Partition implementations for the Raft consensus protocol.-
Uses of RaftStorageConfig in io.atomix.raft.partition
Methods in io.atomix.raft.partition that return RaftStorageConfigModifier and TypeMethodDescriptionRaftPartitionConfig.getStorageConfig()RaftStorageConfig.setFlusherFactory(RaftLogFlusher.Factory flusherFactory) Sets theRaftLogFlusher.Factoryto create a new flushing strategy for theRaftLogwhenio.atomix.raft.storage.RaftStorage#openLog(ThreadContext)is called.RaftStorageConfig.setFreeDiskSpace(long freeDiskSpace) Sets the minimum free disk space bufferRaftStorageConfig.setJournalIndexDensity(int journalIndexDensity) RaftStorageConfig.setPersistedSnapshotStoreFactory(ReceivableSnapshotStoreFactory persistedSnapshotStoreFactory) Sets the snapshot store factory.RaftStorageConfig.setSegmentSize(long segmentSizeBytes) Sets the Raft log segment size.Methods in io.atomix.raft.partition with parameters of type RaftStorageConfigModifier and TypeMethodDescriptionvoidRaftPartitionConfig.setStorageConfig(RaftStorageConfig storageConfig)