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 VotingConfigRaftActorContext.getPeerServerInfo(boolean includeSelf) Returns the peer information as a ClusterConfig if dynamic server configurations have been applied.RaftActorContextImpl.getPeerServerInfo(boolean includeSelf) @Nullable VotingConfigSnapshotManager.ApplyLeaderSnapshot.serverConfig()Returns the value of theserverConfigrecord component.Methods in org.opendaylight.controller.cluster.raft with parameters of type VotingConfigModifier and TypeMethodDescriptionvoidRaftActorContext.updateVotingConfig(VotingConfig votingConfig) Updates the peers and information to match the givenVotingConfig.voidRaftActorContextImpl.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 aApplyLeaderSnapshotrecord 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 SnapshotSnapshot.create(@Nullable Snapshot.State state, List<LogEntry> entries, long lastIndex, long lastTerm, long lastAppliedIndex, long lastAppliedTerm, TermInfo termInfo, @Nullable VotingConfig serverConfig) static SnapshotSnapshot.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 VotingConfigRaftSnapshot.votingConfig()Returns the value of thevotingConfigrecord component.Methods in org.opendaylight.controller.cluster.raft.spi with parameters of type VotingConfigModifier and TypeMethodDescriptionabstract CloseableSnapshotFileFormat.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.voidDisabledRaftStorage.saveVotingConfig(@Nullable VotingConfig votingConfig, Instant timestamp) Constructors in org.opendaylight.controller.cluster.raft.spi with parameters of type VotingConfigModifierConstructorDescriptionRaftSnapshot(@Nullable VotingConfig votingConfig) RaftSnapshot(@Nullable VotingConfig votingConfig, List<LogEntry> unappliedEntries) Creates an instance of aRaftSnapshotrecord class.