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 EntryInfo
SnapshotManager.CaptureSnapshot.lastApplied()
SnapshotManager.ApplyLeaderSnapshot.lastEntry()
Returns the value of thelastEntry
record component.@NonNull EntryInfo
SnapshotManager.CaptureSnapshot.lastEntry()
@NonNull EntryInfo
SnapshotManager.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 aApplyLeaderSnapshot
record 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 EntryInfo
Snapshot.last()
@NonNull EntryInfo
Snapshot.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 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.saveSnapshot
(RaftSnapshot raftSnapshot, EntryInfo lastIncluded, @Nullable StateSnapshot.ToStorage<?> snapshot, Instant timestamp) void
ForwardingSnapshotStore.saveSnapshot
(RaftSnapshot raftSnapshot, EntryInfo lastIncluded, @Nullable StateSnapshot.ToStorage<?> snapshot, Instant timestamp) void
ForwardingSnapshotStore.saveSnapshot
(RaftSnapshot raftSnapshot, EntryInfo lastIncluded, @Nullable StateSnapshot.ToStorage<?> snapshot, RaftCallback<Instant> callback) void
RaftStorage.saveSnapshot
(RaftSnapshot raftSnapshot, EntryInfo lastIncluded, @Nullable StateSnapshot.ToStorage<?> snapshot, Instant timestamp) final void
RaftStorage.saveSnapshot
(RaftSnapshot raftSnapshot, EntryInfo lastIncluded, @Nullable StateSnapshot.ToStorage<?> snapshot, RaftCallback<Instant> callback) void
SnapshotStore.saveSnapshot
(RaftSnapshot raftSnapshot, EntryInfo lastIncluded, @Nullable StateSnapshot.ToStorage<?> snapshot, Instant timestamp) Saves a snapshot synchronously and delete any previous snapshots.void
SnapshotStore.saveSnapshot
(RaftSnapshot raftSnapshot, EntryInfo lastIncluded, @Nullable StateSnapshot.ToStorage<?> snapshot, RaftCallback<Instant> callback) Saves a snapshot asynchronously and delete any previous snapshots.void
ForwardingSnapshotStore.streamToInstall
(EntryInfo lastIncluded, StateSnapshot.ToStorage<?> snapshot, RaftCallback<InstallableSnapshot> callback) final void
RaftStorage.streamToInstall
(EntryInfo lastIncluded, StateSnapshot.ToStorage<?> snapshot, RaftCallback<InstallableSnapshot> callback) void
SnapshotStore.streamToInstall
(EntryInfo lastIncluded, StateSnapshot.ToStorage<?> snapshot, RaftCallback<InstallableSnapshot> callback) Serialize aStateSnapshot.ToStorage
snapshot and make the result available as anInstallableSnapshot
to 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 thelastIncluded
record component.Constructors in org.opendaylight.raft.spi with parameters of type EntryInfoModifierConstructorDescriptionInstallableSnapshotSource
(EntryInfo lastIncluded, @Nullable SnapshotSource source) Default constructor.