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 thesnapshotrecord 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 aApplyLeaderSnapshotrecord class. -
Uses of SnapshotSource in org.opendaylight.raft.spi
Subclasses of SnapshotSource in org.opendaylight.raft.spiModifier and TypeClassDescriptionfinal classA LZ4-compressedSnapshotSource.final classASnapshotSourcecorresponding directly to the serialization format of a snapshot.Methods in org.opendaylight.raft.spi that return SnapshotSourceModifier and TypeMethodDescriptionabstract SnapshotSourceCompressionType.nativeSource(StreamSource provider) Create a newSnapshotSourcebacked by anStreamSource.@Nullable SnapshotSourceInstallableSnapshot.source()Returns the source of byte stream carrying user state snapshot.@Nullable SnapshotSourceInstallableSnapshotSource.source()Returns the value of thesourcerecord 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.