Uses of Class
org.opendaylight.controller.cluster.raft.persisted.Snapshot
Packages that use Snapshot
Package
Description
Persisted backend structures.
-
Uses of Snapshot in org.opendaylight.controller.cluster.datastore.persisted
Methods in org.opendaylight.controller.cluster.datastore.persisted that return SnapshotModifier and TypeMethodDescription@NonNull Snapshot
DatastoreSnapshot.ShardSnapshot.getSnapshot()
Constructors in org.opendaylight.controller.cluster.datastore.persisted with parameters of type Snapshot -
Uses of Snapshot in org.opendaylight.controller.cluster.raft
Methods in org.opendaylight.controller.cluster.raft that return SnapshotModifier and TypeMethodDescription@Nullable Snapshot
RaftActorRecoveryCohort.getRestoreFromSnapshot()
Returns the snapshot to restore from on recovery.Methods in org.opendaylight.controller.cluster.raft with parameters of type SnapshotModifier and TypeMethodDescriptionfinal void
AbstractReplicatedLog.resetToSnapshot
(Snapshot snapshot) void
ReplicatedLog.resetToSnapshot
(Snapshot snapshot) Reset internal state to specifiedSnapshot
. -
Uses of Snapshot in org.opendaylight.controller.cluster.raft.client.messages
Methods in org.opendaylight.controller.cluster.raft.client.messages that return SnapshotModifier and TypeMethodDescriptionGetSnapshotReply.snapshot()
Returns the value of thesnapshot
record component.Constructors in org.opendaylight.controller.cluster.raft.client.messages with parameters of type SnapshotModifierConstructorDescriptionGetSnapshotReply
(String id, Snapshot snapshot) Creates an instance of aGetSnapshotReply
record class. -
Uses of Snapshot in org.opendaylight.controller.cluster.raft.persisted
Methods in org.opendaylight.controller.cluster.raft.persisted that return SnapshotModifier 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.ofRaft
(TermInfo termInfo, RaftSnapshot raftSnapshot, EntryMeta lastIncluded, @Nullable Snapshot.State state) static Snapshot
Snapshot.ofTermLeader
(@Nullable Snapshot.State state, EntryMeta lastIncluded, TermInfo termInfo, @Nullable VotingConfig serverConfig)