Uses of Class
org.opendaylight.controller.cluster.raft.persisted.VotingConfig
Packages that use VotingConfig
-
Uses of VotingConfig in org.opendaylight.controller.cluster.raft
Methods in org.opendaylight.controller.cluster.raft that return VotingConfigModifier and TypeMethodDescription@Nullable VotingConfig
RaftActorContext.getPeerServerInfo
(boolean includeSelf) Returns the peer information as a ClusterConfig if dynamic server configurations have been applied.RaftActorContextImpl.getPeerServerInfo
(boolean includeSelf) @Nullable VotingConfig
SnapshotManager.ApplyLeaderSnapshot.serverConfig()
Returns the value of theserverConfig
record component.Methods in org.opendaylight.controller.cluster.raft with parameters of type VotingConfigModifier and TypeMethodDescriptionvoid
RaftActorContext.updateVotingConfig
(VotingConfig votingConfig) Updates the peers and information to match the givenVotingConfig
.void
RaftActorContextImpl.updateVotingConfig
(VotingConfig votingConfig) Constructors in org.opendaylight.controller.cluster.raft with parameters of type VotingConfigModifierConstructorDescriptionApplyLeaderSnapshot
(String leaderId, long term, EntryInfo lastEntry, SnapshotSource snapshot, @Nullable VotingConfig serverConfig, SnapshotManager.ApplyLeaderSnapshot.Callback callback) Creates an instance of aApplyLeaderSnapshot
record class. -
Uses of VotingConfig in org.opendaylight.controller.cluster.raft.messages
Methods in org.opendaylight.controller.cluster.raft.messages that return VotingConfigConstructors in org.opendaylight.controller.cluster.raft.messages with parameters of type VotingConfigModifierConstructorDescriptionInstallSnapshot
(long term, String leaderId, long lastIncludedIndex, long lastIncludedTerm, byte[] data, int chunkIndex, int totalChunks, OptionalInt lastChunkHashCode, @Nullable VotingConfig votingConfig, short recipientRaftVersion) -
Uses of VotingConfig in org.opendaylight.controller.cluster.raft.persisted
Methods in org.opendaylight.controller.cluster.raft.persisted that return VotingConfigMethods in org.opendaylight.controller.cluster.raft.persisted with parameters of type VotingConfigModifier and TypeMethodDescriptionstatic Snapshot
Snapshot.create
(@Nullable Snapshot.State state, List<LogEntry> entries, long lastIndex, long lastTerm, long lastAppliedIndex, long lastAppliedTerm, TermInfo termInfo, @Nullable VotingConfig serverConfig) static Snapshot
Snapshot.ofTermLeader
(@Nullable Snapshot.State state, EntryMeta lastIncluded, TermInfo termInfo, @Nullable VotingConfig serverConfig) -
Uses of VotingConfig in org.opendaylight.controller.cluster.raft.spi
Methods in org.opendaylight.controller.cluster.raft.spi that return VotingConfigModifier and TypeMethodDescription@Nullable VotingConfig
RaftSnapshot.votingConfig()
Returns the value of thevotingConfig
record component.Methods in org.opendaylight.controller.cluster.raft.spi with parameters of type VotingConfigModifier and TypeMethodDescriptionabstract Closeable
SnapshotFileFormat.createNew
(Path file, Instant timestamp, EntryInfo lastIncluded, @Nullable VotingConfig votingConfig, CompressionType entryCompress, List<LogEntry> unappliedEntries, CompressionType stateCompress, @Nullable StateSnapshot.ToStorage<?> state) Create a file of this format with the content of specified snapshot.void
DisabledRaftStorage.saveVotingConfig
(@Nullable VotingConfig votingConfig, Instant timestamp) Constructors in org.opendaylight.controller.cluster.raft.spi with parameters of type VotingConfigModifierConstructorDescriptionRaftSnapshot
(@Nullable VotingConfig votingConfig, List<LogEntry> unappliedEntries) Creates an instance of aRaftSnapshot
record class.