Package org.opendaylight.raft.spi
Interface InstallableSnapshot
- All Known Subinterfaces:
SnapshotFile
- All Known Implementing Classes:
InstallableSnapshotSource
@NonNullByDefault
public interface InstallableSnapshot
The state part logical content of an InstallSnapshot RPC.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the combinedlastIncludedIndex/lastIncludedTerm.@Nullable SnapshotSourcesource()Returns the source of byte stream carrying user state snapshot.
-
Method Details
-
lastIncluded
EntryInfo lastIncluded()Returns the combinedlastIncludedIndex/lastIncludedTerm.- Returns:
- the combined
lastIncludedIndex/lastIncludedTerm
-
source
@Nullable SnapshotSource source()Returns the source of byte stream carrying user state snapshot.- Returns:
- the source of byte stream carrying user state snapshot, or
nullas there is no snapshot.
-