Uses of Class
io.microraft.RaftConfig.RaftConfigBuilder
-
Uses of RaftConfig.RaftConfigBuilder in io.microraft
Modifier and TypeMethodDescriptionstatic RaftConfig.RaftConfigBuilder
RaftConfig.newBuilder()
Creates a new Raft config builder.RaftConfig.RaftConfigBuilder.setAppendEntriesRequestBatchSize
(int appendEntriesRequestBatchSize) RaftConfig.RaftConfigBuilder.setCommitCountToTakeSnapshot
(int commitCountToTakeSnapshot) RaftConfig.RaftConfigBuilder.setLeaderElectionTimeoutMillis
(long leaderElectionTimeoutMillis) RaftConfig.RaftConfigBuilder.setLeaderHeartbeatPeriodSecs
(long leaderHeartbeatPeriodSecs) RaftConfig.RaftConfigBuilder.setLeaderHeartbeatTimeoutSecs
(long leaderHeartbeatTimeoutSecs) RaftConfig.RaftConfigBuilder.setMaxPendingLogEntryCount
(int maxPendingLogEntryCount) RaftConfig.RaftConfigBuilder.setRaftNodeReportPublishPeriodSecs
(int raftNodeReportPublishPeriodSecs) RaftConfig.RaftConfigBuilder.setTransferSnapshotsFromFollowersEnabled
(boolean transferSnapshotsFromFollowersEnabled)