Uses of Interface
org.opendaylight.controller.cluster.raft.persisted.Snapshot.State
Packages that use Snapshot.State
Package
Description
Persisted backend structures.
-
Uses of Snapshot.State in org.opendaylight.controller.cluster.datastore.persisted
Classes in org.opendaylight.controller.cluster.datastore.persisted that implement Snapshot.StateModifier and TypeClassDescriptionfinal class
Encapsulates the snapshot State for a Shard. -
Uses of Snapshot.State in org.opendaylight.controller.cluster.raft
Methods in org.opendaylight.controller.cluster.raft that return Snapshot.StateModifier and TypeMethodDescription@NonNull Snapshot.State
SnapshotManager.convertSnapshot
(ByteSource snapshotBytes) NoopRaftActorSnapshotCohort.deserializeSnapshot
(ByteSource snapshotBytes) @NonNull Snapshot.State
RaftActorSnapshotCohort.deserializeSnapshot
(@NonNull ByteSource snapshotBytes) This method is called to de-serialize snapshot data that was previously serialized viaRaftActorSnapshotCohort.createSnapshot(akka.actor.ActorRef, java.util.Optional<java.io.OutputStream>)
to a State instance.Methods in org.opendaylight.controller.cluster.raft with parameters of type Snapshot.StateModifier and TypeMethodDescriptionvoid
RaftActorRecoveryCohort.applyRecoverySnapshot
(Snapshot.State snapshotState) This method is called during recovery to reconstruct the state of the actor.void
NoopRaftActorSnapshotCohort.applySnapshot
(Snapshot.State snapshotState) void
RaftActorSnapshotCohort.applySnapshot
(@NonNull Snapshot.State snapshotState) This method is called to apply a snapshot installed by the leader.void
SnapshotManager.persist
(Snapshot.State state, Optional<OutputStream> installSnapshotStream, long totalMemory) void
SnapshotState.persist
(Snapshot.State snapshotState, Optional<OutputStream> installSnapshotStream, long totalMemory) Persists a snapshot. -
Uses of Snapshot.State in org.opendaylight.controller.cluster.raft.base.messages
Methods in org.opendaylight.controller.cluster.raft.base.messages that return Snapshot.StateModifier and TypeMethodDescription@NonNull Snapshot.State
CaptureSnapshotReply.getSnapshotState()
Constructors in org.opendaylight.controller.cluster.raft.base.messages with parameters of type Snapshot.StateModifierConstructorDescriptionCaptureSnapshotReply
(@NonNull Snapshot.State snapshotState, @NonNull Optional<OutputStream> installSnapshotStream) -
Uses of Snapshot.State in org.opendaylight.controller.cluster.raft.persisted
Classes in org.opendaylight.controller.cluster.raft.persisted that implement Snapshot.StateMethods in org.opendaylight.controller.cluster.raft.persisted that return Snapshot.StateMethods in org.opendaylight.controller.cluster.raft.persisted with parameters of type Snapshot.StateModifier and TypeMethodDescriptionstatic Snapshot
Snapshot.create
(Snapshot.State state, List<ReplicatedLogEntry> entries, long lastIndex, long lastTerm, long lastAppliedIndex, long lastAppliedTerm, long electionTerm, String electionVotedFor, ServerConfigurationPayload serverConfig)