internal void Stop() { if (countersPublisher != null) { countersPublisher.Stop(); } countersPublisher = null; if (logStatistics != null) { logStatistics.Stop(); logStatistics.DumpCounters(); } logStatistics = null; }
internal void Stop() { if (MetricsTable != null) { MetricsTable.Dispose(); } MetricsTable = null; if (countersPublisher != null) { countersPublisher.Stop(); } countersPublisher = null; if (logStatistics != null) { logStatistics.Stop(); logStatistics.DumpCounters().Wait(); } logStatistics = null; }
internal void Stop() { if (runtimeStats != null) { runtimeStats.Stop(); } runtimeStats = null; if (MetricsTable != null) { MetricsTable.Dispose(); } MetricsTable = null; if (perfCountersPublisher != null) { perfCountersPublisher.Stop(); } perfCountersPublisher = null; if (logStatistics != null) { logStatistics.Stop(); logStatistics.DumpCounters().Wait(); } logStatistics = null; }