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 class
Encapsulates 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 TypeMethodDescriptionvoid
RaftActorRecoveryCohort.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 interface
Implementations 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 interface
StateSnapshot.Reader<T extends StateSnapshot>
static interface
StateSnapshot.Support<T extends StateSnapshot>
A combination of aStateSnapshot.Reader
and aStateSnapshot.Writer
for a concreteStateSnapshot
type, as indicated byStateSnapshot.Support.snapshotType()
.static final class
StateSnapshot.ToStorage<T extends StateSnapshot>
AStateSnapshot
on its way to storage.static interface
StateSnapshot.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)