Exemplo n.º 1
0
        public Statistics(Clock clock)
        {
            _clock = clock;

            ContentLength         = new MinMaxAverage();
            BatchSize             = new MinMaxAverage();
            LogEventsPerBatch     = new MinMaxAverage();
            LogEventSize          = new MinMaxAverage();
            _batchDistribution    = new ConcurrentDictionary <SizeBucket, int>();
            _logEventDistribution = new ConcurrentDictionary <SizeBucket, int>();
        }
Exemplo n.º 2
0
 public MinMaxAverageShould()
 {
     _minMaxAverage = new MinMaxAverage();
 }