internal void Stop()
 {
     if (countersPublisher != null)
     {
         countersPublisher.Stop();
     }
     countersPublisher = null;
     if (logStatistics != null)
     {
         logStatistics.Stop();
         logStatistics.DumpCounters();
     }
     logStatistics = null;
 }
Exemplo n.º 2
0
 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;
 }