Uses of Interface
org.opendaylight.controller.cluster.raft.spi.StateSnapshot
Packages that use StateSnapshot
Package
Description
Persisted backend structures.
Various provider-level APIs for plugging into
RaftActor.-
Uses of StateSnapshot in org.opendaylight.controller.cluster.datastore.persisted
Classes in org.opendaylight.controller.cluster.datastore.persisted that implement StateSnapshotModifier and TypeClassDescriptionfinal classEncapsulates the snapshot State for a Shard. -
Uses of StateSnapshot in org.opendaylight.controller.cluster.raft
Methods in org.opendaylight.controller.cluster.raft with parameters of type StateSnapshotModifier and TypeMethodDescriptionvoidRaftActorRecoveryCohort.applyRecoveredSnapshot(StateSnapshot snapshot) This method is called during recovery to reconstruct the state of the actor. -
Uses of StateSnapshot in org.opendaylight.controller.cluster.raft.persisted
Subinterfaces of StateSnapshot in org.opendaylight.controller.cluster.raft.persistedModifier and TypeInterfaceDescriptionstatic interfaceImplementations of this interface are used as the state payload for a snapshot.Classes in org.opendaylight.controller.cluster.raft.persisted that implement StateSnapshot -
Uses of StateSnapshot in org.opendaylight.controller.cluster.raft.spi
Classes in org.opendaylight.controller.cluster.raft.spi with type parameters of type StateSnapshotModifier and TypeInterfaceDescriptionstatic interfaceStateSnapshot.Reader<T extends StateSnapshot>static interfaceStateSnapshot.Support<T extends StateSnapshot>A combination of aStateSnapshot.Readerand aStateSnapshot.Writerfor a concreteStateSnapshottype, as indicated byStateSnapshot.Support.snapshotType().static final classStateSnapshot.ToStorage<T extends StateSnapshot>AStateSnapshoton its way to storage.static interfaceStateSnapshot.Writer<T extends StateSnapshot>Methods in org.opendaylight.controller.cluster.raft.spi with type parameters of type StateSnapshotModifier and TypeMethodDescriptionstatic <T extends StateSnapshot>
StateSnapshot.ToStorage<T> StateSnapshot.ToStorage.of(StateSnapshot.Writer<T> writer, T snapshot) static <T extends StateSnapshot>
@Nullable StateSnapshot.ToStorage<T> StateSnapshot.ToStorage.ofNullable(StateSnapshot.Writer<T> writer, @Nullable T snapshot) default <T extends StateSnapshot>
@Nullable TSnapshotFile.readSnapshot(StateSnapshot.Reader<? extends T> reader) Methods in org.opendaylight.controller.cluster.raft.spi with parameters of type StateSnapshotModifier and TypeMethodDescriptionvoidNoopRecoveryObserver.onSnapshotRecovered(StateSnapshot snapshot) voidRecoveryObserver.onSnapshotRecovered(StateSnapshot snapshot)