Uses of Record Class
org.opendaylight.raft.api.EntryInfo
Packages that use EntryInfo
Package
Description
Various provider-level APIs for plugging into
RaftActor.Classes that constitute what would be a RAFT protocol API.
Classes that are helpful for implementing RAFT.
-
Uses of EntryInfo in org.opendaylight.controller.cluster.raft
Methods in org.opendaylight.controller.cluster.raft that return EntryInfoModifier and TypeMethodDescription@NonNull EntryInfoSnapshotManager.CaptureSnapshot.lastApplied()SnapshotManager.ApplyLeaderSnapshot.lastEntry()Returns the value of thelastEntryrecord component.@NonNull EntryInfoSnapshotManager.CaptureSnapshot.lastEntry()@NonNull EntryInfoSnapshotManager.CaptureSnapshot.replicatedToAll()Constructors in org.opendaylight.controller.cluster.raft with parameters of type EntryInfoModifierConstructorDescriptionApplyLeaderSnapshot(String leaderId, long term, EntryInfo lastEntry, SnapshotSource snapshot, @Nullable VotingConfig serverConfig, SnapshotManager.ApplyLeaderSnapshot.Callback callback) Creates an instance of aApplyLeaderSnapshotrecord class. -
Uses of EntryInfo in org.opendaylight.controller.cluster.raft.persisted
Methods in org.opendaylight.controller.cluster.raft.persisted that return EntryInfoModifier and TypeMethodDescription@NonNull EntryInfoSnapshot.last()@NonNull EntryInfoSnapshot.lastApplied() -
Uses of EntryInfo in org.opendaylight.controller.cluster.raft.spi
Methods in org.opendaylight.controller.cluster.raft.spi with parameters of type EntryInfoModifier 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.saveSnapshot(RaftSnapshot raftSnapshot, EntryInfo lastIncluded, @Nullable StateSnapshot.ToStorage<?> snapshot, Instant timestamp) voidForwardingSnapshotStore.saveSnapshot(RaftSnapshot raftSnapshot, EntryInfo lastIncluded, @Nullable StateSnapshot.ToStorage<?> snapshot, Instant timestamp) voidForwardingSnapshotStore.saveSnapshot(RaftSnapshot raftSnapshot, EntryInfo lastIncluded, @Nullable StateSnapshot.ToStorage<?> snapshot, RaftCallback<Instant> callback) static final voidRaftStorage.saveSnapshot(String memberId, Path directory, SnapshotFileFormat format, CompressionType compression, RaftSnapshot raftSnapshot, EntryInfo lastIncluded, @Nullable StateSnapshot.ToStorage<?> snapshot, Instant timestamp) voidRaftStorage.saveSnapshot(RaftSnapshot raftSnapshot, EntryInfo lastIncluded, @Nullable StateSnapshot.ToStorage<?> snapshot, Instant timestamp) final voidRaftStorage.saveSnapshot(RaftSnapshot raftSnapshot, EntryInfo lastIncluded, @Nullable StateSnapshot.ToStorage<?> snapshot, RaftCallback<Instant> callback) voidSnapshotStore.saveSnapshot(RaftSnapshot raftSnapshot, EntryInfo lastIncluded, @Nullable StateSnapshot.ToStorage<?> snapshot, Instant timestamp) Saves a snapshot synchronously and delete any previous snapshots.voidSnapshotStore.saveSnapshot(RaftSnapshot raftSnapshot, EntryInfo lastIncluded, @Nullable StateSnapshot.ToStorage<?> snapshot, RaftCallback<Instant> callback) Saves a snapshot asynchronously and delete any previous snapshots.voidForwardingSnapshotStore.streamToInstall(EntryInfo lastIncluded, StateSnapshot.ToStorage<?> snapshot, RaftCallback<InstallableSnapshot> callback) final voidRaftStorage.streamToInstall(EntryInfo lastIncluded, StateSnapshot.ToStorage<?> snapshot, RaftCallback<InstallableSnapshot> callback) voidSnapshotStore.streamToInstall(EntryInfo lastIncluded, StateSnapshot.ToStorage<?> snapshot, RaftCallback<InstallableSnapshot> callback) Serialize aStateSnapshot.ToStoragesnapshot and make the result available as anInstallableSnapshotto the specified callback. -
Uses of EntryInfo in org.opendaylight.raft.api
Methods in org.opendaylight.raft.api that return EntryInfo -
Uses of EntryInfo in org.opendaylight.raft.spi
Methods in org.opendaylight.raft.spi that return EntryInfoModifier and TypeMethodDescriptionInstallableSnapshot.lastIncluded()Returns the combinedlastIncludedIndex/lastIncludedTerm.InstallableSnapshotSource.lastIncluded()Returns the value of thelastIncludedrecord component.Constructors in org.opendaylight.raft.spi with parameters of type EntryInfoModifierConstructorDescriptionInstallableSnapshotSource(EntryInfo lastIncluded, @Nullable SnapshotSource source) Default constructor.