Beispiel #1
0
        public void ChunksNotMerged(int chunkStartNumber, int chunkEndNumber, TimeSpan elapsed, string errorMessage)
        {
            var scavengedLog = new ScavengedLog(chunkStartNumber, chunkEndNumber, false, "");

            Scavenged.Add(scavengedLog);
            ChunkScavenged?.Invoke(this, scavengedLog);
        }
Beispiel #2
0
        public void ChunksMerged(int chunkStartNumber, int chunkEndNumber, TimeSpan elapsed, long spaceSaved)
        {
            var scavengedLog = new ScavengedLog(chunkStartNumber, chunkEndNumber, true, "");

            Scavenged.Add(scavengedLog);
            ChunkScavenged?.Invoke(this, scavengedLog);
        }