static SiteNodeHelper()
        {
            _performanceHelper = PerformanceHelper.CreateCounterHelper <Counters>("Test");

            _performanceHelper.RawValue(Counters.SuccessfullHttpRequests, 0);
            _performanceHelper.RawValue(Counters.FailedHttpRequests, 0);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Reset all counters.
 /// </summary>
 public static void ResetCounters()
 {
     _counter.RawValue(Counters.LogIn, 0);
     _counter.RawValue(Counters.LogOff, 0);
     _counter.RawValue(Counters.VisitSite, 0);
 }