public void Dispose() { DisposeWithoutClosingPager(); _journalWriter?.Dispose(); _journalWriter = null; }
public void Dispose() { Console.WriteLine("Timer invocations:" + _timerInvocations); var histogram = new SortedDictionary <int, int>(); foreach (var count in _batchSizes) { if (!histogram.ContainsKey(count)) { histogram[count] = 1; } else { histogram[count]++; } } foreach (var key in histogram.Keys) { Console.WriteLine(key + ": " + histogram[key]); } _journalWriter.Dispose(); }
public void Dispose() { _writer.Dispose(); }
void IDisposable.Dispose() { Close(); _decoratedWriter.Dispose(); }
public void Dispose() { _commandJournaler.Shutdown(); _transactionHandler.Shutdown(); _journalWriter.Dispose(); }