Uses of Class
org.opendaylight.raft.spi.SnapshotSource
Packages that use SnapshotSource
Package
Description
Classes that are helpful for implementing RAFT.
-
Uses of SnapshotSource in org.opendaylight.controller.cluster.raft
Methods in org.opendaylight.controller.cluster.raft that return SnapshotSourceModifier and TypeMethodDescriptionSnapshotManager.ApplyLeaderSnapshot.snapshot()
Returns the value of thesnapshot
record component.Constructors in org.opendaylight.controller.cluster.raft with parameters of type SnapshotSourceModifierConstructorDescriptionApplyLeaderSnapshot
(String leaderId, long term, EntryInfo lastEntry, SnapshotSource snapshot, @Nullable VotingConfig serverConfig, SnapshotManager.ApplyLeaderSnapshot.Callback callback) Creates an instance of aApplyLeaderSnapshot
record class. -
Uses of SnapshotSource in org.opendaylight.raft.spi
Subclasses of SnapshotSource in org.opendaylight.raft.spiModifier and TypeClassDescriptionfinal class
A LZ4-compressedSnapshotSource
.final class
ASnapshotSource
corresponding directly to the serialization format of a snapshot.Methods in org.opendaylight.raft.spi that return SnapshotSourceModifier and TypeMethodDescriptionabstract SnapshotSource
CompressionType.nativeSource
(StreamSource provider) Create a newSnapshotSource
backed by anStreamSource
.@Nullable SnapshotSource
InstallableSnapshot.source()
Returns the source of byte stream carrying user state snapshot.@Nullable SnapshotSource
InstallableSnapshotSource.source()
Returns the value of thesource
record component.Constructors in org.opendaylight.raft.spi with parameters of type SnapshotSourceModifierConstructorDescriptionInstallableSnapshotSource
(long index, long term, SnapshotSource source) Convenience constructor.InstallableSnapshotSource
(EntryInfo lastIncluded, @Nullable SnapshotSource source) Default constructor.