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 classEncapsulates 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.StateSnapshotManager.convertSnapshot(ByteSource snapshotBytes) NoopRaftActorSnapshotCohort.deserializeSnapshot(ByteSource snapshotBytes) @NonNull Snapshot.StateRaftActorSnapshotCohort.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 TypeMethodDescriptionvoidRaftActorRecoveryCohort.applyRecoverySnapshot(Snapshot.State snapshotState) This method is called during recovery to reconstruct the state of the actor.voidNoopRaftActorSnapshotCohort.applySnapshot(Snapshot.State snapshotState) voidRaftActorSnapshotCohort.applySnapshot(@NonNull Snapshot.State snapshotState) This method is called to apply a snapshot installed by the leader.voidSnapshotManager.persist(Snapshot.State state, Optional<OutputStream> installSnapshotStream, long totalMemory) voidSnapshotState.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.StateCaptureSnapshotReply.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 SnapshotSnapshot.create(Snapshot.State state, List<ReplicatedLogEntry> entries, long lastIndex, long lastTerm, long lastAppliedIndex, long lastAppliedTerm, long electionTerm, String electionVotedFor, ServerConfigurationPayload serverConfig)