public Meter(string eventType, ITimeUnit rateUnit, Clock clock) { _rateUnit = rateUnit; _eventType = eventType; _clock = clock; _startTime = _clock.GetTick(); _lastTick = new AtomicLong(_startTime); }
public Counter() { _counter = new AtomicLong(0); }