예제 #1
0
 public void StartTickingMetric(MeterMetric tickable)
 {
     _scheduledActions.TryAdd(tickable);
 }
예제 #2
0
 public void StopTickingMetric(MeterMetric tickable)
 {
     _scheduledActions.TryRemove(tickable);
 }
예제 #3
0
 public void StartTickingMetric(MeterMetric tickable)
 {
     _scheduledActions.TryAdd(new WeakReference <MeterMetric>(tickable));
 }