+
+ /**
+ * Returns the snapshot to restore from on recovery.
+ *
+ * @return the snapshot or null if there's no snapshot to restore
+ */
+ @Nullable
+ Snapshot getRestoreFromSnapshot();
+
+ /**
+ * This method is called during recovery to de-serialize a snapshot that was persisted in the pre-Carbon format.
+ *
+ * @param from the snaphot bytes
+ * @return a Snapshot.State instance
+ */
+ @Deprecated
+ @Nonnull
+ Snapshot.State deserializePreCarbonSnapshot(byte [] from);