+ /**
+ * Initiates a capture snapshot, while enforcing trimming of the log up to lastAppliedIndex.
+ * @param lastLogEntry the last entry in the replicated log
+ * @param replicatedToAllIndex the current replicatedToAllIndex
+ * @return true if capture was started
+ */
+ boolean captureWithForcedTrim(ReplicatedLogEntry lastLogEntry, long replicatedToAllIndex);
+