Uses of Class
io.atomix.raft.partition.RaftStorageConfig
Packages that use RaftStorageConfig
Package
Description
Provides
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 TypeMethodDescriptionRaftPartitionGroupConfig.getStorageConfig()Returns the storage configuration.RaftStorageConfig.setDirectory(String directory) Sets the partition data directory.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 TypeMethodDescriptionRaftPartitionGroupConfig.setStorageConfig(RaftStorageConfig storageConfig) Sets the storage configuration.