| Package | Description |
|---|---|
| io.atomix.protocols.raft.partition |
Provides
PartitionGroup and Partition
implementations for the Raft consensus protocol. |
| Modifier and Type | Method and Description |
|---|---|
RaftStorageConfig |
RaftPartitionGroupConfig.getStorageConfig()
Returns the storage configuration.
|
RaftStorageConfig |
RaftStorageConfig.setDirectory(java.lang.String directory)
Sets the partition data directory.
|
RaftStorageConfig |
RaftStorageConfig.setFlushOnCommit(boolean flushOnCommit)
Sets whether to flush logs to disk on commit.
|
RaftStorageConfig |
RaftStorageConfig.setLevel(StorageLevel storageLevel)
Sets the partition storage level.
|
RaftStorageConfig |
RaftStorageConfig.setMaxEntrySize(io.atomix.utils.memory.MemorySize maxEntrySize)
Sets the maximum entry size.
|
RaftStorageConfig |
RaftStorageConfig.setSegmentSize(io.atomix.utils.memory.MemorySize segmentSize)
Sets the Raft log segment size.
|
| Modifier and Type | Method and Description |
|---|---|
RaftPartitionGroupConfig |
RaftPartitionGroupConfig.setStorageConfig(RaftStorageConfig storageConfig)
Sets the storage configuration.
|
Copyright © 2013-2019. All Rights Reserved.