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