Uses of Interface
org.opendaylight.controller.cluster.raft.persisted.Snapshot.State
-
Packages that use Snapshot.State Package Description org.opendaylight.controller.cluster.datastore.persisted Persisted backend structures.org.opendaylight.controller.cluster.raft org.opendaylight.controller.cluster.raft.base.messages org.opendaylight.controller.cluster.raft.persisted -
-
Uses of Snapshot.State in org.opendaylight.controller.cluster.datastore.persisted
Classes in org.opendaylight.controller.cluster.datastore.persisted that implement Snapshot.State Modifier and Type Class Description class
ShardSnapshotState
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.State Modifier and Type Method Description @NonNull Snapshot.State
SnapshotManager. convertSnapshot(ByteSource snapshotBytes)
Snapshot.State
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.State Modifier and Type Method Description void
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.State Modifier and Type Method Description @NonNull Snapshot.State
CaptureSnapshotReply. getSnapshotState()
Constructors in org.opendaylight.controller.cluster.raft.base.messages with parameters of type Snapshot.State Constructor Description CaptureSnapshotReply(@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.State Modifier and Type Class Description class
EmptyState
Empty Snapshot State implementation.Methods in org.opendaylight.controller.cluster.raft.persisted that return Snapshot.State Modifier and Type Method Description Snapshot.State
Snapshot. getState()
Methods in org.opendaylight.controller.cluster.raft.persisted with parameters of type Snapshot.State Modifier and Type Method Description static Snapshot
Snapshot. create(Snapshot.State state, List<ReplicatedLogEntry> entries, long lastIndex, long lastTerm, long lastAppliedIndex, long lastAppliedTerm, long electionTerm, String electionVotedFor, ServerConfigurationPayload serverConfig)
-