public void ChunksNotMerged(int chunkStartNumber, int chunkEndNumber, TimeSpan elapsed, string errorMessage) { var scavengedLog = new ScavengedLog(chunkStartNumber, chunkEndNumber, false, ""); Merged.Add(scavengedLog); ChunkScavenged?.Invoke(this, scavengedLog); }
public void ChunksMerged(int chunkStartNumber, int chunkEndNumber, TimeSpan elapsed, long spaceSaved) { var scavengedLog = new ScavengedLog(chunkStartNumber, chunkEndNumber, true, ""); Merged.Add(scavengedLog); ChunkScavenged?.Invoke(this, scavengedLog); }