private void Increment(Metrics.Types type)
 {
     lock (locker)
     {
         ++values[(int)type];
     }
 }
 public MetricsTopicSource(Metrics metrics, Metrics.Types metricType)
 {
     this.metrics = metrics;
     this.metricType = metricType;
 }
Esempio n. 3
0
 public MetricsTopicSource(Metrics metrics, Metrics.Types metricType)
 {
     this.metrics    = metrics;
     this.metricType = metricType;
 }
 public MetricEventArgs(Metrics.Types type, UInt64 value)
 {
     this.Type  = type;
     this.Value = value;
 }
 public MetricEventArgs(Metrics.Types type, UInt64 value)
 {
     this.Type = type;
     this.Value = value;
 }