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 Type
    Method
    Description
    Returns the combined lastIncludedIndex/lastIncludedTerm.
    @Nullable SnapshotSource
    Returns the source of byte stream carrying user state snapshot.
  • Method Details

    • lastIncluded

      EntryInfo lastIncluded()
      Returns the combined lastIncludedIndex/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 null as there is no snapshot.