Class SendInstallSnapshot


  • public final class SendInstallSnapshot
    extends Object
    Internal message sent from the SnapshotManager to its associated leader when a snapshot capture is complete to prompt the leader to install the snapshot on its followers as needed.
    • Constructor Detail

      • SendInstallSnapshot

        public SendInstallSnapshot​(@NonNull Snapshot snapshot,
                                   @NonNull ByteSource snapshotBytes)
    • Method Detail

      • getSnapshot

        public @NonNull Snapshot getSnapshot()
      • getSnapshotBytes

        public @NonNull ByteSource getSnapshotBytes()